CREATE COLLATION IF NOT EXISTS

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: CREATE COLLATION IF NOT EXISTS
Date: 2017-02-09 03:55:31
Message-ID: 3c39e301-6bb0-f370-5567-bcd7c4bd2835@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Here is a patch to complete the implementation of CREATE COLLATION IF
NOT EXISTS. The meat of this was already implemented for
pg_import_system_collations; this just exposes it in the SQL command.

If we go ahead with ICU, then creating collations by hand will become
more common, so this could be useful in practice.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment Content-Type Size
0001-Add-CREATE-COLLATION-IF-NOT-EXISTS-clause.patch text/x-patch 7.9 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kuntal Ghosh 2017-02-09 05:48:47 Re: WAL consistency check facility
Previous Message Amit Langote 2017-02-09 01:33:23 Re: Declarative partitioning - another take