1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-06 07:49:08 +03:00

Implement IF NOT EXISTS for CREATE SEQUENCE.

Fabrízio de Royes Mello
This commit is contained in:
Heikki Linnakangas
2014-08-26 16:05:18 +03:00
parent 57ca1d4f01
commit 0076f264b6
8 changed files with 49 additions and 2 deletions

View File

@@ -1979,6 +1979,7 @@ typedef struct CreateSeqStmt
RangeVar *sequence; /* the sequence to create */
List *options;
Oid ownerId; /* ID of owner, or InvalidOid for default */
bool if_not_exists; /* just do nothing if it already exists? */
} CreateSeqStmt;
typedef struct AlterSeqStmt