| From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Add ALTER DOMAIN ... RENAME |
| Date: | 2011-12-22 20:45:30 |
| Message-ID: | E1RdpW6-0006aC-Mb@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/f90dd28062db2128a340fbe02f55829f15ab5561
Modified Files
--------------
doc/src/sgml/ref/alter_domain.sgml | 22 +++++++++++++++++++++-
src/backend/commands/alter.c | 3 ++-
src/backend/commands/typecmds.c | 11 ++++++++++-
src/backend/parser/gram.y | 8 ++++++++
src/include/commands/typecmds.h | 2 +-
src/test/regress/expected/domain.out | 7 +++++++
src/test/regress/sql/domain.sql | 10 ++++++++++
7 files changed, 59 insertions(+), 4 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2011-12-22 21:17:16 | pgsql: Add a security_barrier option for views. |
| Previous Message | Robert Haas | 2011-12-22 18:03:12 | pgsql: Don't forget to de-escape the password field in .pgpass. |