(n *pg.AlterRoleSetStmt)
| 426 | } |
| 427 | |
| 428 | func convertAlterRoleSetStmt(n *pg.AlterRoleSetStmt) *ast.AlterRoleSetStmt { |
| 429 | if n == nil { |
| 430 | return nil |
| 431 | } |
| 432 | return &ast.AlterRoleSetStmt{ |
| 433 | Role: convertRoleSpec(n.Role), |
| 434 | Database: makeString(n.Database), |
| 435 | Setstmt: convertVariableSetStmt(n.Setstmt), |
| 436 | } |
| 437 | } |
| 438 | |
| 439 | func convertAlterRoleStmt(n *pg.AlterRoleStmt) *ast.AlterRoleStmt { |
| 440 | if n == nil { |
no test coverage detected