]> granicus.if.org Git - postgresql/commit
ALTER <thing> [IF EXISTS] ... allows silent DDL if required,
authorSimon Riggs <simon@2ndQuadrant.com>
Mon, 23 Jan 2012 23:25:04 +0000 (23:25 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Mon, 23 Jan 2012 23:25:04 +0000 (23:25 +0000)
commitb8a91d9d1c7ec75aaecf13df687ec7b5b0ed35a6
treef49bd1ea95c2e141cb8fadd0495f682134053d38
parent4993a49b7cf1d23dfe1f9e1a85d9411b8ff57454
ALTER <thing> [IF EXISTS] ... allows silent DDL if required,
e.g. ALTER FOREIGN TABLE IF EXISTS foo RENAME TO bar

Pavel Stehule
19 files changed:
doc/src/sgml/ref/alter_foreign_table.sgml
doc/src/sgml/ref/alter_index.sgml
doc/src/sgml/ref/alter_sequence.sgml
doc/src/sgml/ref/alter_table.sgml
doc/src/sgml/ref/alter_view.sgml
src/backend/commands/sequence.c
src/backend/commands/tablecmds.c
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/parser/gram.y
src/backend/parser/parse_utilcmd.c
src/backend/tcop/utility.c
src/include/nodes/parsenodes.h
src/test/regress/expected/alter_table.out
src/test/regress/expected/foreign_data.out
src/test/regress/expected/sequence.out
src/test/regress/sql/alter_table.sql
src/test/regress/sql/foreign_data.sql
src/test/regress/sql/sequence.sql