(n *pg.CompositeTypeStmt)
| 884 | } |
| 885 | |
| 886 | func convertCompositeTypeStmt(n *pg.CompositeTypeStmt) *ast.CompositeTypeStmt { |
| 887 | if n == nil { |
| 888 | return nil |
| 889 | } |
| 890 | rel := parseRelationFromRangeVar(n.Typevar) |
| 891 | return &ast.CompositeTypeStmt{ |
| 892 | TypeName: rel.TypeName(), |
| 893 | } |
| 894 | } |
| 895 | |
| 896 | func convertConstraint(n *pg.Constraint) *ast.Constraint { |
| 897 | if n == nil { |
no test coverage detected