]> granicus.if.org Git - postgresql/commit
Add btree and hash opclasses for pg_lsn.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 5 Jun 2014 00:45:56 +0000 (20:45 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 5 Jun 2014 00:45:56 +0000 (20:45 -0400)
commit4c8ab1b91d2bd154031f7bc8529b9e6e2f1cc443
tree348422e6ca630cbf0c86f6fb39cee4403051c8be
parenteeca4cd35e284c72b2ea1b4494e64e7738896e81
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
src/backend/utils/adt/pg_lsn.c
src/include/catalog/catversion.h
src/include/catalog/pg_amop.h
src/include/catalog/pg_amproc.h
src/include/catalog/pg_opclass.h
src/include/catalog/pg_operator.h
src/include/catalog/pg_opfamily.h
src/include/catalog/pg_proc.h
src/include/utils/pg_lsn.h
src/test/regress/expected/pg_lsn.out
src/test/regress/sql/pg_lsn.sql