pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add function to import operating system collations
Date: Wed, 18 Jan 2017 14:36:08 +0000
Message-ID: <E1cTrLM-0008E8-6K@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Add function to import operating system collations

Move this logic out of initdb into a user-callable function.  This
simplifies the code and makes it possible to update the standard
collations later on if additional operating system collations appear.

Reviewed-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Euler Taveira <euler@timbira.com.br>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/aa17c06fb58533d09c79c68a4d34a6f56687ee38

Modified Files
--------------
doc/src/sgml/charset.sgml             |   2 +-
doc/src/sgml/func.sgml                |  40 ++++++++
src/backend/catalog/pg_collation.c    |  31 ++++++-
src/backend/commands/collationcmds.c  | 154 ++++++++++++++++++++++++++++++-
src/bin/initdb/initdb.c               | 166 +---------------------------------
src/include/catalog/catversion.h      |   2 +-
src/include/catalog/pg_collation_fn.h |   3 +-
src/include/catalog/pg_proc.h         |   3 +
8 files changed, 229 insertions(+), 172 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (24+ messages)  latest in thread

Message-ID: <E1cTrLM-0008E8-6K@gemulon.postgresql.org>
Permalink:  ../E1cTrLM-0008E8-6K@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1cTrLM-0008E8-6K@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter_e@gmx.net
  Subject: Re: pgsql: Add function to import operating system collations
  In-Reply-To: <E1cTrLM-0008E8-6K@gemulon.postgresql.org>
  References: <E1cTrLM-0008E8-6K@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox