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

Commit8021c77

Browse files
committed
Make amcanorder independent of amconsistentordering
Follow-up to commitaf4002b: Make amconsistentordering not dependon amcanorder. Although they are related, they are independentproperties.Reported-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://www.postgresql.org/message-id/flat/E1tngY6-0000UL-2n%40gemulon.postgresql.org
1 parent661781f commit8021c77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ equality_ops_are_compatible(Oid opno1, Oid opno2)
750750
* they belong to the same family.)
751751
*
752752
* (This is identical to equality_ops_are_compatible(), except that we check
753-
*amcanorder plusamconsistentordering instead of amconsistentequality.)
753+
* amconsistentordering instead of amconsistentequality.)
754754
*/
755755
bool
756756
comparison_ops_are_compatible(Oidopno1,Oidopno2)
@@ -782,7 +782,7 @@ comparison_ops_are_compatible(Oid opno1, Oid opno2)
782782
{
783783
IndexAmRoutine*amroutine=GetIndexAmRoutineByAmId(op_form->amopmethod, false);
784784

785-
if (amroutine->amcanorder&&amroutine->amconsistentordering)
785+
if (amroutine->amconsistentordering)
786786
{
787787
result= true;
788788
break;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp