(n *pg.AlterPolicyStmt)
| 400 | } |
| 401 | |
| 402 | func convertAlterPolicyStmt(n *pg.AlterPolicyStmt) *ast.AlterPolicyStmt { |
| 403 | if n == nil { |
| 404 | return nil |
| 405 | } |
| 406 | return &ast.AlterPolicyStmt{ |
| 407 | PolicyName: makeString(n.PolicyName), |
| 408 | Table: convertRangeVar(n.Table), |
| 409 | Roles: convertSlice(n.Roles), |
| 410 | Qual: convertNode(n.Qual), |
| 411 | WithCheck: convertNode(n.WithCheck), |
| 412 | } |
| 413 | } |
| 414 | |
| 415 | func convertAlterPublicationStmt(n *pg.AlterPublicationStmt) *ast.AlterPublicationStmt { |
| 416 | if n == nil { |
no test coverage detected