AlterDatabase represents a ALTER DATABASE statement.
| 48 | |
| 49 | // AlterDatabase represents a ALTER DATABASE statement. |
| 50 | type AlterDatabase struct { |
| 51 | Name Name |
| 52 | Options []DatabaseOption |
| 53 | // Rename is handled by RenameDatabase |
| 54 | Owner string |
| 55 | Tablespace string |
| 56 | RefreshCollationVersion bool |
| 57 | SetVar *SetVar |
| 58 | ResetVar string |
| 59 | ResetAll bool |
| 60 | } |
| 61 | |
| 62 | // Format implements the NodeFormatter interface. |
| 63 | func (node *AlterDatabase) Format(ctx *FmtCtx) { |
nothing calls this directly
no outgoing calls
no test coverage detected