Add btree and hash opclasses for pg_lsn.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 4c8ab1b91d2bd154031f7bc8529b9e6e2f1cc443
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2014-06-05T00:45:56Z
Releases: 9.4.0
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

Files