Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7bd0ebc

Browse files
author
Nikita Glukhov
committed
Fix syscache collation for text attributes
1 parentabc624f commit7bd0ebc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/backend/utils/cache/catcache.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include"access/tuptoaster.h"
2323
#include"access/valid.h"
2424
#include"access/xact.h"
25+
#include"catalog/pg_collation.h"
2526
#include"catalog/pg_operator.h"
2627
#include"catalog/pg_type.h"
2728
#include"miscadmin.h"
@@ -961,7 +962,7 @@ CatalogCacheInitializeCache(CatCache *cache)
961962
cache->cc_skey[i].sk_strategy=BTEqualStrategyNumber;
962963
cache->cc_skey[i].sk_subtype=InvalidOid;
963964
/* Currently, there are no catcaches on collation-aware data types */
964-
cache->cc_skey[i].sk_collation=InvalidOid;
965+
cache->cc_skey[i].sk_collation=DEFAULT_COLLATION_OID;
965966

966967
CACHE4_elog(DEBUG2,"CatalogCacheInitializeCache %s %d %p",
967968
cache->cc_relname,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp