mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +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:
@@ -105,8 +105,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