]> granicus.if.org Git - postgresql/commit
Add ALTER TYPE ... ADD/DROP/ALTER/RENAME ATTRIBUTE
authorPeter Eisentraut <peter_e@gmx.net>
Sun, 26 Sep 2010 11:41:03 +0000 (14:41 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Sun, 26 Sep 2010 11:41:03 +0000 (14:41 +0300)
commite440e12c562432a2a695b8054964fb34e3bd823e
tree9f075dbc9e292746f81390f0f44803090bf73d07
parent899beb78941aa955aac2e19cb82458c6f4c7dd52
Add ALTER TYPE ... ADD/DROP/ALTER/RENAME ATTRIBUTE

Like with tables, this also requires allowing the existence of
composite types with zero attributes.

reviewed by KaiGai Kohei
15 files changed:
doc/src/sgml/ref/alter_type.sgml
doc/src/sgml/ref/create_type.sgml
doc/src/sgml/ref/drop_type.sgml
src/backend/commands/alter.c
src/backend/commands/tablecmds.c
src/backend/commands/typecmds.c
src/backend/parser/gram.y
src/backend/parser/parse_utilcmd.c
src/backend/tcop/utility.c
src/bin/pg_dump/pg_dump.c
src/bin/psql/tab-complete.c
src/include/nodes/parsenodes.h
src/include/parser/kwlist.h
src/test/regress/expected/alter_table.out
src/test/regress/sql/alter_table.sql