From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Add function to import operating system collations |
Date: | 2017-01-18 14:36:08 |
Message-ID: | E1cTrLM-0008E8-6K@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
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(at)anarazel(dot)de>
Reviewed-by: Euler Taveira <euler(at)timbira(dot)com(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2017-01-18 14:53:16 | Re: pgsql: Add function to import operating system collations |
Previous Message | Tom Lane | 2017-01-18 12:38:03 | Re: [COMMITTERS] pgsql: Generate fmgr prototypes automatically |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2017-01-18 14:36:57 | Re: Improving RLS planning |
Previous Message | Merlin Moncure | 2017-01-18 14:33:50 | Re: emergency outage requiring database restart |