1818
1919 <refsynopsisdiv>
2020<synopsis>
21- CREATE COLLATION <replaceable>name</replaceable> (
21+ CREATE COLLATION[ IF NOT EXISTS ] <replaceable>name</replaceable> (
2222 [ LOCALE = <replaceable>locale</replaceable>, ]
2323 [ LC_COLLATE = <replaceable>lc_collate</replaceable>, ]
2424 [ LC_CTYPE = <replaceable>lc_ctype</replaceable> ]
2525)
26- CREATE COLLATION <replaceable>name</replaceable> FROM <replaceable>existing_collation</replaceable>
26+ CREATE COLLATION[ IF NOT EXISTS ] <replaceable>name</replaceable> FROM <replaceable>existing_collation</replaceable>
2727</synopsis>
2828 </refsynopsisdiv>
2929
@@ -47,6 +47,17 @@ CREATE COLLATION <replaceable>name</replaceable> FROM <replaceable>existing_coll
4747 <title>Parameters</title>
4848
4949 <variablelist>
50+ <varlistentry>
51+ <term><literal>IF NOT EXISTS</literal></term>
52+ <listitem>
53+ <para>
54+ Do not throw an error if a collation with the same name already exists.
55+ A notice is issued in this case. Note that there is no guarantee that
56+ the existing collation is anything like the one that would have been created.
57+ </para>
58+ </listitem>
59+ </varlistentry>
60+
5061 <varlistentry>
5162 <term><replaceable>name</replaceable></term>
5263