mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
Rename amcancrosscompare
After more discussion about commit ce62f2f2a0, rename the index AM
property amcancrosscompare to two separate properties
amconsistentequality and amconsistentordering. Also improve the
documentation and update some comments that were previously missed.
Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/E1tngY6-0000UL-2n%40gemulon.postgresql.org
This commit is contained in:
@@ -245,8 +245,10 @@ typedef struct IndexAmRoutine
|
||||
bool amcanorderbyop;
|
||||
/* does AM support hashing using API consistent with the hash AM? */
|
||||
bool amcanhash;
|
||||
/* does AM support cross-type comparisons? */
|
||||
bool amcancrosscompare;
|
||||
/* do operators within an opfamily have consistent equality semantics? */
|
||||
bool amconsistentequality;
|
||||
/* do operators within an opfamily have consistent ordering semantics? */
|
||||
bool amconsistentordering;
|
||||
/* does AM support backward scanning? */
|
||||
bool amcanbackward;
|
||||
/* does AM support UNIQUE indexes? */
|
||||
|
||||
Reference in New Issue
Block a user