pgsql: Implement IF NOT EXISTS for CREATE SEQUENCE.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Implement IF NOT EXISTS for CREATE SEQUENCE.
Date: 2014-08-26 13:20:24
Message-ID: E1XMGfg-00018a-Nq@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Implement IF NOT EXISTS for CREATE SEQUENCE.

Fabrízio de Royes Mello

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/0076f264b6f24854219d49b159602e2042c38ee7

Modified Files
--------------
doc/src/sgml/ref/create_sequence.sgml | 14 +++++++++++++-
src/backend/commands/sequence.c | 20 +++++++++++++++++++-
src/backend/nodes/copyfuncs.c | 1 +
src/backend/nodes/equalfuncs.c | 1 +
src/backend/parser/gram.y | 11 +++++++++++
src/include/nodes/parsenodes.h | 1 +
src/test/regress/expected/sequence.out | 2 ++
src/test/regress/sql/sequence.sql | 1 +
8 files changed, 49 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2014-08-26 13:28:16 pgsql: Mark IsBinaryUpgrade as PGDLLIMPORT to fix windows builds after
Previous Message Andres Freund 2014-08-26 10:31:00 pgsql: Don't hardcode contrib_regression dbname in postgres_fdw and dbl