(n *pg.AlterObjectSchemaStmt)
| 353 | } |
| 354 | |
| 355 | func convertAlterObjectSchemaStmt(n *pg.AlterObjectSchemaStmt) *ast.AlterObjectSchemaStmt { |
| 356 | if n == nil { |
| 357 | return nil |
| 358 | } |
| 359 | return &ast.AlterObjectSchemaStmt{ |
| 360 | ObjectType: ast.ObjectType(n.ObjectType), |
| 361 | Relation: convertRangeVar(n.Relation), |
| 362 | Object: convertNode(n.Object), |
| 363 | Newschema: makeString(n.Newschema), |
| 364 | MissingOk: n.MissingOk, |
| 365 | } |
| 366 | } |
| 367 | |
| 368 | func convertAlterOpFamilyStmt(n *pg.AlterOpFamilyStmt) *ast.AlterOpFamilyStmt { |
| 369 | if n == nil { |
no test coverage detected