mirror of
https://github.com/postgres/postgres.git
synced 2025-11-03 09:13:20 +03:00
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.
This commit is contained in:
@@ -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;
|
||||
|
||||
/* ----------------------
|
||||
|
||||
Reference in New Issue
Block a user