pgsql: Add IF NOT EXISTS processing to ALTER TABLE ADD COLUMN
Add IF NOT EXISTS processing to ALTER TABLE ADD COLUMN
Fabrízio de Royes Mello, reviewed by Payal Singh, Alvaro Herrera and
Michael Paquier.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/2cd40adb85d1d5a7fd448721b326e73c1e318750
Modified Files
--------------
doc/src/sgml/ref/alter_table.sgml | 8 ++-
src/backend/commands/tablecmds.c | 52 ++++++++++++-----
src/backend/parser/gram.y | 20 +++++++
src/test/regress/expected/alter_table.out | 89 +++++++++++++++++++++++++++++
src/test/regress/sql/alter_table.sql | 31 ++++++++++
5 files changed, 182 insertions(+), 18 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers