mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
Add btree and hash opclasses for pg_lsn.
This is needed to allow ORDER BY, DISTINCT, etc to work as expected for
pg_lsn values.
We had previously decided to put this off for 9.5, but in view of commit
eeca4cd35e there's no reason to avoid a
catversion bump for 9.4beta2, and this does make a pretty significant
usability difference for pg_lsn.
Michael Paquier, with fixes from Andres Freund and Tom Lane
This commit is contained in:
@@ -29,6 +29,8 @@ extern Datum pg_lsn_lt(PG_FUNCTION_ARGS);
|
||||
extern Datum pg_lsn_gt(PG_FUNCTION_ARGS);
|
||||
extern Datum pg_lsn_le(PG_FUNCTION_ARGS);
|
||||
extern Datum pg_lsn_ge(PG_FUNCTION_ARGS);
|
||||
extern Datum pg_lsn_cmp(PG_FUNCTION_ARGS);
|
||||
extern Datum pg_lsn_hash(PG_FUNCTION_ARGS);
|
||||
|
||||
extern Datum pg_lsn_mi(PG_FUNCTION_ARGS);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user