diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2017-02-08 22:51:09 -0500 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2017-02-15 10:01:28 -0500 |
commit | 6d16ecc646d21b39092970c591fd0f73b4cfc26b (patch) | |
tree | 39a31e88e1e82ae5a76eddf446d2c128dbf2b80b /src/include/nodes | |
parent | e403732ef66d368f0a9a154d8f756f5d28615b8a (diff) | |
download | postgresql-6d16ecc646d21b39092970c591fd0f73b4cfc26b.tar.gz |
Add CREATE COLLATION IF NOT EXISTS clause
The core of the functionality was already implemented when
pg_import_system_collations was added. This just exposes it as an
option in the SQL command.
Diffstat (limited to 'src/include/nodes')
-rw-r--r-- | src/include/nodes/parsenodes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index 07a8436143..5afc3ebea0 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -2380,6 +2380,7 @@ typedef struct DefineStmt List *defnames; /* qualified name (list of Value strings) */ List *args; /* a list of TypeName (if needed) */ List *definition; /* a list of DefElem */ + bool if_not_exists; /* just do nothing if it already exists? */ } DefineStmt; /* ---------------------- |