diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2014-06-04 20:45:56 -0400 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2014-06-04 20:45:56 -0400 |
| commit | 4c8ab1b91d2bd154031f7bc8529b9e6e2f1cc443 (patch) | |
| tree | 348422e6ca630cbf0c86f6fb39cee4403051c8be /src/include/utils/pg_lsn.h | |
| parent | eeca4cd35e284c72b2ea1b4494e64e7738896e81 (diff) | |
| download | postgresql-4c8ab1b91d2bd154031f7bc8529b9e6e2f1cc443.tar.gz | |
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
eeca4cd35e284c72b2ea1b4494e64e7738896e81 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
Diffstat (limited to 'src/include/utils/pg_lsn.h')
| -rw-r--r-- | src/include/utils/pg_lsn.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/utils/pg_lsn.h b/src/include/utils/pg_lsn.h index 981fcd6fa8..7dd932d01b 100644 --- a/src/include/utils/pg_lsn.h +++ b/src/include/utils/pg_lsn.h @@ -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); |
