(n *pg.RoleSpec)
| 2418 | } |
| 2419 | |
| 2420 | func convertRoleSpec(n *pg.RoleSpec) *ast.RoleSpec { |
| 2421 | if n == nil { |
| 2422 | return nil |
| 2423 | } |
| 2424 | return &ast.RoleSpec{ |
| 2425 | Roletype: ast.RoleSpecType(n.Roletype), |
| 2426 | Rolename: makeString(n.Rolename), |
| 2427 | Location: int(n.Location), |
| 2428 | } |
| 2429 | } |
| 2430 | |
| 2431 | func convertRowCompareExpr(n *pg.RowCompareExpr) *ast.RowCompareExpr { |
| 2432 | if n == nil { |
no test coverage detected