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

Commit6a9fc11

Browse files
committed
Remove redundant check for default collation.
The operative check is for a deterministic collation, so the check forDEFAULT_COLLATION is redundant. Furthermore, it will be wrong if weever support a non-deterministic default collation.Author: Andreas KarlssonDiscussion:https://postgr.es/m/60929555-4709-40a7-b136-bcb44cff5a3c@proxel.se
1 parentcb599b9 commit6a9fc11

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

‎src/backend/utils/adt/varlena.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2540,7 +2540,6 @@ btvarstrequalimage(PG_FUNCTION_ARGS)
25402540
locale=pg_newlocale_from_collation(collid);
25412541

25422542
if (locale->collate_is_c||
2543-
collid==DEFAULT_COLLATION_OID||
25442543
pg_locale_deterministic(locale))
25452544
PG_RETURN_BOOL(true);
25462545
else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp