(n *pg.CreateSchemaStmt)
| 1204 | } |
| 1205 | |
| 1206 | func convertCreateSchemaStmt(n *pg.CreateSchemaStmt) *ast.CreateSchemaStmt { |
| 1207 | if n == nil { |
| 1208 | return nil |
| 1209 | } |
| 1210 | return &ast.CreateSchemaStmt{ |
| 1211 | Name: makeString(n.Schemaname), |
| 1212 | Authrole: convertRoleSpec(n.Authrole), |
| 1213 | SchemaElts: convertSlice(n.SchemaElts), |
| 1214 | IfNotExists: n.IfNotExists, |
| 1215 | } |
| 1216 | } |
| 1217 | |
| 1218 | func convertCreateSeqStmt(n *pg.CreateSeqStmt) *ast.CreateSeqStmt { |
| 1219 | if n == nil { |
no test coverage detected