pgsql: Add IF NOT EXISTS processing to ALTER TABLE ADD COLUMN

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add IF NOT EXISTS processing to ALTER TABLE ADD COLUMN
Date: 2015-07-30 01:33:03
Message-ID: E1ZKciV-0000HB-Oo@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2015-07-30 03:03:57 pgsql: MSVC: Future-proof installation file skip logic.
Previous Message Joe Conway 2015-07-30 00:35:58 Re: [COMMITTERS] pgsql: Row-Level Security Policies (RLS)