(n *pg.AlterOwnerStmt)
| 388 | } |
| 389 | |
| 390 | func convertAlterOwnerStmt(n *pg.AlterOwnerStmt) *ast.AlterOwnerStmt { |
| 391 | if n == nil { |
| 392 | return nil |
| 393 | } |
| 394 | return &ast.AlterOwnerStmt{ |
| 395 | ObjectType: ast.ObjectType(n.ObjectType), |
| 396 | Relation: convertRangeVar(n.Relation), |
| 397 | Object: convertNode(n.Object), |
| 398 | Newowner: convertRoleSpec(n.Newowner), |
| 399 | } |
| 400 | } |
| 401 | |
| 402 | func convertAlterPolicyStmt(n *pg.AlterPolicyStmt) *ast.AlterPolicyStmt { |
| 403 | if n == nil { |
no test coverage detected