summaryrefslogtreecommitdiff
path: root/src/include/catalog/pg_operator.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2014-06-04 20:45:56 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2014-06-04 20:45:56 -0400
commit4c8ab1b91d2bd154031f7bc8529b9e6e2f1cc443 (patch)
tree348422e6ca630cbf0c86f6fb39cee4403051c8be /src/include/catalog/pg_operator.h
parenteeca4cd35e284c72b2ea1b4494e64e7738896e81 (diff)
downloadpostgresql-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/catalog/pg_operator.h')
-rw-r--r--src/include/catalog/pg_operator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/catalog/pg_operator.h b/src/include/catalog/pg_operator.h
index f280af441c..87ee4eb852 100644
--- a/src/include/catalog/pg_operator.h
+++ b/src/include/catalog/pg_operator.h
@@ -1595,7 +1595,7 @@ DATA(insert OID = 2977 ( ">=" PGNSP PGUID b f f 2950 2950 16 2976 2974 uuid_
DESCR("greater than or equal");
/* pg_lsn operators */
-DATA(insert OID = 3222 ( "=" PGNSP PGUID b f f 3220 3220 16 3222 3223 pg_lsn_eq eqsel eqjoinsel ));
+DATA(insert OID = 3222 ( "=" PGNSP PGUID b t t 3220 3220 16 3222 3223 pg_lsn_eq eqsel eqjoinsel ));
DESCR("equal");
DATA(insert OID = 3223 ( "<>" PGNSP PGUID b f f 3220 3220 16 3223 3222 pg_lsn_ne neqsel neqjoinsel ));
DESCR("not equal");