(n *pg.AlterForeignServerStmt)
| 319 | } |
| 320 | |
| 321 | func convertAlterForeignServerStmt(n *pg.AlterForeignServerStmt) *ast.AlterForeignServerStmt { |
| 322 | if n == nil { |
| 323 | return nil |
| 324 | } |
| 325 | return &ast.AlterForeignServerStmt{ |
| 326 | Servername: makeString(n.Servername), |
| 327 | Version: makeString(n.Version), |
| 328 | Options: convertSlice(n.Options), |
| 329 | HasVersion: n.HasVersion, |
| 330 | } |
| 331 | } |
| 332 | |
| 333 | func convertAlterFunctionStmt(n *pg.AlterFunctionStmt) *ast.AlterFunctionStmt { |
| 334 | if n == nil { |
no test coverage detected