mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +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:
@ -3105,6 +3105,7 @@ _copyDefineStmt(const DefineStmt *from)
|
||||
COPY_NODE_FIELD(defnames);
|
||||
COPY_NODE_FIELD(args);
|
||||
COPY_NODE_FIELD(definition);
|
||||
COPY_SCALAR_FIELD(if_not_exists);
|
||||
|
||||
return newnode;
|
||||
}
|
||||
|
Reference in New Issue
Block a user