(n *pg.CopyStmt)
| 951 | } |
| 952 | |
| 953 | func convertCopyStmt(n *pg.CopyStmt) *ast.CopyStmt { |
| 954 | if n == nil { |
| 955 | return nil |
| 956 | } |
| 957 | return &ast.CopyStmt{ |
| 958 | Relation: convertRangeVar(n.Relation), |
| 959 | Query: convertNode(n.Query), |
| 960 | Attlist: convertSlice(n.Attlist), |
| 961 | IsFrom: n.IsFrom, |
| 962 | IsProgram: n.IsProgram, |
| 963 | Filename: makeString(n.Filename), |
| 964 | Options: convertSlice(n.Options), |
| 965 | } |
| 966 | } |
| 967 | |
| 968 | func convertCreateAmStmt(n *pg.CreateAmStmt) *ast.CreateAmStmt { |
| 969 | if n == nil { |
no test coverage detected