(n *pg.AlterRoleStmt)
| 437 | } |
| 438 | |
| 439 | func convertAlterRoleStmt(n *pg.AlterRoleStmt) *ast.AlterRoleStmt { |
| 440 | if n == nil { |
| 441 | return nil |
| 442 | } |
| 443 | return &ast.AlterRoleStmt{ |
| 444 | Role: convertRoleSpec(n.Role), |
| 445 | Options: convertSlice(n.Options), |
| 446 | Action: int(n.Action), |
| 447 | } |
| 448 | } |
| 449 | |
| 450 | func convertAlterSeqStmt(n *pg.AlterSeqStmt) *ast.AlterSeqStmt { |
| 451 | if n == nil { |
no test coverage detected