postgresql/src/bin/pg_dump
Peter Eisentraut eccfef81e1 ICU support
Add a column collprovider to pg_collation that determines which library
provides the collation data.  The existing choices are default and libc,
and this adds an icu choice, which uses the ICU4C library.

The pg_locale_t type is changed to a union that contains the
provider-specific locale handles.  Users of locale information are
changed to look into that struct for the appropriate handle to use.

Also add a collversion column that records the version of the collation
when it is created, and check at run time whether it is still the same.
This detects potentially incompatible library upgrades that can corrupt
indexes and other structures.  This is currently only supported by
ICU-provided collations.

initdb initializes the default collation set as before from the `locale
-a` output but also adds all available ICU locales with a "-x-icu"
appended.

Currently, ICU-provided collations can only be explicitly named
collations.  The global database locales are still always libc-provided.

ICU support is enabled by configure --with-icu.

Reviewed-by: Thomas Munro <thomas.munro@enterprisedb.com>
Reviewed-by: Andreas Karlsson <andreas@proxel.se>
2017-03-23 15:28:48 -04:00
..
po Translation updates 2016-08-08 11:08:00 -04:00
t ICU support 2017-03-23 15:28:48 -04:00
.gitignore
common.c Logical replication 2017-01-20 09:04:49 -05:00
compress_io.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
compress_io.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
dumputils.c pg_dump: Fix handling of ALTER DEFAULT PRIVILEGES 2017-01-31 16:24:11 -05:00
dumputils.h pg_dump: Fix handling of ALTER DEFAULT PRIVILEGES 2017-01-31 16:24:11 -05:00
Makefile Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
nls.mk Translation updates 2016-05-09 10:04:41 -04:00
parallel.c Spelling fixes in code comments 2017-03-14 12:58:39 -04:00
parallel.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_backup_archiver.c Sync pg_dump and pg_dumpall output 2017-03-22 10:20:13 -04:00
pg_backup_archiver.h Sync pg_dump and pg_dumpall output 2017-03-22 10:20:13 -04:00
pg_backup_custom.c Sync pg_dump and pg_dumpall output 2017-03-22 10:20:13 -04:00
pg_backup_db.c Simplify correct use of simple_prompt(). 2016-08-30 17:02:02 -04:00
pg_backup_db.h Make pg_dump error cleanly with -j against hot standby 2016-05-26 22:14:23 +02:00
pg_backup_directory.c Sync pg_dump and pg_dumpall output 2017-03-22 10:20:13 -04:00
pg_backup_null.c
pg_backup_tar.c Sync pg_dump and pg_dumpall output 2017-03-22 10:20:13 -04:00
pg_backup_tar.h
pg_backup_utils.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_backup_utils.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_backup.h Logical replication support for initial data copy 2017-03-23 08:55:37 -04:00
pg_dump_sort.c Fix hard-coded relkind constants in assorted src/bin files. 2017-03-09 22:42:16 -05:00
pg_dump.c ICU support 2017-03-23 15:28:48 -04:00
pg_dump.h pg_dump: Fix handling of ALTER DEFAULT PRIVILEGES 2017-01-31 16:24:11 -05:00
pg_dumpall.c Sync pg_dump and pg_dumpall output 2017-03-22 10:20:13 -04:00
pg_restore.c Remove useless duplicate inclusions of system header files. 2017-02-25 16:12:55 -05:00