summaryrefslogtreecommitdiff
path: root/src/include/catalog/pg_opclass.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-07-21 20:51:33 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-07-21 20:51:33 +0000
commit0144eb92bbffe25945e57b1c153ddaae93b9f196 (patch)
treeb714ca632e41515ae2414b0ade19458d472dcc7c /src/include/catalog/pg_opclass.h
parentbc660c423731a3b68fb9c1e61a3ab8812dc8d55d (diff)
downloadpostgresql-0144eb92bbffe25945e57b1c153ddaae93b9f196.tar.gz
Add the full set of comparison functions for type TID, including a btree
opclass. This is not so much because anyone's likely to create an index on TID, as that sorting TIDs can be useful. Also added max and min aggregates while at it, so that one can investigate the clusteredness of a table with queries like SELECT min(ctid), max(ctid) FROM tab WHERE ... Greg Stark and Tom Lane
Diffstat (limited to 'src/include/catalog/pg_opclass.h')
-rw-r--r--src/include/catalog/pg_opclass.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/catalog/pg_opclass.h b/src/include/catalog/pg_opclass.h
index 5c86da4c5d..cee9f752bf 100644
--- a/src/include/catalog/pg_opclass.h
+++ b/src/include/catalog/pg_opclass.h
@@ -27,7 +27,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/catalog/pg_opclass.h,v 1.70 2006/05/02 15:23:16 teodor Exp $
+ * $PostgreSQL: pgsql/src/include/catalog/pg_opclass.h,v 1.71 2006/07/21 20:51:33 tgl Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
@@ -162,6 +162,7 @@ DATA(insert OID = 2222 ( 405 bool_ops PGNSP PGUID 16 t 0 ));
#define BOOL_HASH_OPS_OID 2222
DATA(insert OID = 2223 ( 405 bytea_ops PGNSP PGUID 17 t 0 ));
DATA(insert OID = 2224 ( 405 int2vector_ops PGNSP PGUID 22 t 0 ));
+DATA(insert OID = 2789 ( 403 tid_ops PGNSP PGUID 27 t 0 ));
DATA(insert OID = 2225 ( 405 xid_ops PGNSP PGUID 28 t 0 ));
DATA(insert OID = 2226 ( 405 cid_ops PGNSP PGUID 29 t 0 ));
DATA(insert OID = 2227 ( 405 abstime_ops PGNSP PGUID 702 t 0 ));