Skip site navigation (1) Skip section navigation (2)

pgsql: Add ALTER DOMAIN ... RENAME

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 (view raw or flat)
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(-)

pgsql-committers by date

Next:From: Robert HaasDate: 2011-12-22 21:17:16
Subject: pgsql: Add a security_barrier option for views.
Previous:From: Robert HaasDate: 2011-12-22 18:03:12
Subject: pgsql: Don't forget to de-escape the password field in .pgpass.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group