(n *pg.AlterTableStmt)
| 547 | } |
| 548 | |
| 549 | func convertAlterTableStmt(n *pg.AlterTableStmt) *ast.AlterTableStmt { |
| 550 | if n == nil { |
| 551 | return nil |
| 552 | } |
| 553 | return &ast.AlterTableStmt{ |
| 554 | Relation: convertRangeVar(n.Relation), |
| 555 | Cmds: convertSlice(n.Cmds), |
| 556 | Relkind: ast.ObjectType(n.Objtype), |
| 557 | MissingOk: n.MissingOk, |
| 558 | } |
| 559 | } |
| 560 | |
| 561 | func convertAlterUserMappingStmt(n *pg.AlterUserMappingStmt) *ast.AlterUserMappingStmt { |
| 562 | if n == nil { |
no test coverage detected