(n *pg.CreateOpClassStmt)
| 1118 | } |
| 1119 | |
| 1120 | func convertCreateOpClassStmt(n *pg.CreateOpClassStmt) *ast.CreateOpClassStmt { |
| 1121 | if n == nil { |
| 1122 | return nil |
| 1123 | } |
| 1124 | return &ast.CreateOpClassStmt{ |
| 1125 | Opclassname: convertSlice(n.Opclassname), |
| 1126 | Opfamilyname: convertSlice(n.Opfamilyname), |
| 1127 | Amname: makeString(n.Amname), |
| 1128 | Datatype: convertTypeName(n.Datatype), |
| 1129 | Items: convertSlice(n.Items), |
| 1130 | IsDefault: n.IsDefault, |
| 1131 | } |
| 1132 | } |
| 1133 | |
| 1134 | func convertCreateOpFamilyStmt(n *pg.CreateOpFamilyStmt) *ast.CreateOpFamilyStmt { |
| 1135 | if n == nil { |
no test coverage detected