mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
Per-column collation support
This adds collation support for columns and domains, a COLLATE clause to override it per expression, and B-tree index support. Peter Eisentraut reviewed by Pavel Stehule, Itagaki Takahiro, Robert Haas, Noah Misch
This commit is contained in:
23
src/backend/utils/cache/syscache.c
vendored
23
src/backend/utils/cache/syscache.c
vendored
@ -28,6 +28,7 @@
|
||||
#include "catalog/pg_auth_members.h"
|
||||
#include "catalog/pg_authid.h"
|
||||
#include "catalog/pg_cast.h"
|
||||
#include "catalog/pg_collation.h"
|
||||
#include "catalog/pg_constraint.h"
|
||||
#include "catalog/pg_conversion.h"
|
||||
#include "catalog/pg_database.h"
|
||||
@ -267,6 +268,28 @@ static const struct cachedesc cacheinfo[] = {
|
||||
},
|
||||
64
|
||||
},
|
||||
{CollationRelationId, /* COLLNAMEENCNSP */
|
||||
CollationNameEncNspIndexId,
|
||||
3,
|
||||
{
|
||||
Anum_pg_collation_collname,
|
||||
Anum_pg_collation_collencoding,
|
||||
Anum_pg_collation_collnamespace,
|
||||
0
|
||||
},
|
||||
256
|
||||
},
|
||||
{CollationRelationId, /* COLLOID */
|
||||
CollationOidIndexId,
|
||||
1,
|
||||
{
|
||||
ObjectIdAttributeNumber,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
},
|
||||
256
|
||||
},
|
||||
{ConversionRelationId, /* CONDEFAULT */
|
||||
ConversionDefaultIndexId,
|
||||
4,
|
||||
|
Reference in New Issue
Block a user