git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ac435a7) | patch
Create an explicit concept of collations that work for any encoding.
2011年3月11日 18:20:11 +0000 (13:20 -0500)
2011年3月11日 18:20:11 +0000 (13:20 -0500)
commit e3c732a85c0f247617b2d44ea567f35731b03ea6
Create an explicit concept of collations that work for any encoding.

Use collencoding = -1 to represent such a collation in pg_collation.
We need this to make the "default" entry work sanely, and a later
patch will fix the C/POSIX entries to be represented this way instead
of duplicating them across all encodings. All lookup operations now
search first for an entry that's database-encoding-specific, and then
for the same name with collencoding = -1.

Also some incidental code cleanup in collationcmds.c and pg_collation.c.
doc/src/sgml/catalogs.sgml diff | blob | blame | history
src/backend/catalog/information_schema.sql diff | blob | blame | history
src/backend/catalog/namespace.c diff | blob | blame | history
src/backend/catalog/pg_collation.c diff | blob | blame | history
src/backend/commands/collationcmds.c diff | blob | blame | history
src/bin/psql/tab-complete.c diff | blob | blame | history
src/include/catalog/catversion.h diff | blob | blame | history
src/include/catalog/pg_collation.h diff | blob | blame | history
src/test/regress/expected/collate.linux.utf8.out diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /