Add ALTER DOMAIN ... RENAME
Peter Eisentraut <peter_e@gmx.net>
Add ALTER DOMAIN ... RENAME You could already rename domains using ALTER TYPE, but with this new command it is more consistent with how other commands treat domains as a subcategory of types.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/alter_domain.sgml | modified | +21 −1 |
| src/backend/commands/alter.c | modified | +2 −1 |
| src/backend/commands/typecmds.c | modified | +10 −1 |
| src/backend/parser/gram.y | modified | +8 −0 |
| src/include/commands/typecmds.h | modified | +1 −1 |
| src/test/regress/expected/domain.out | modified | +7 −0 |
| src/test/regress/sql/domain.sql | modified | +10 −0 |