diff options
| author | Bruce Momjian | 2000-06-07 04:09:44 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2000-06-07 04:09:44 +0000 |
| commit | 7d301947e595eda323a441af499b432eb2886293 (patch) | |
| tree | 244b96a7fa6a26f937f914e9ee8e229c5cfb57db /src/include | |
| parent | 75b950f6681a1b933a5eb8ed828d749cab1c76e0 (diff) | |
Re-order pg_listener index so it can later be used in an index scan.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/catalog/catversion.h | 4 | ||||
| -rw-r--r-- | src/include/catalog/indexing.h | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/include/catalog/catversion.h b/src/include/catalog/catversion.h index cfa4b31aa7..009b4be213 100644 --- a/src/include/catalog/catversion.h +++ b/src/include/catalog/catversion.h @@ -37,7 +37,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: catversion.h,v 1.25 2000/06/07 03:02:08 momjian Exp $ + * $Id: catversion.h,v 1.26 2000/06/07 04:09:44 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -53,6 +53,6 @@ */ /* yyyymmddN */ -#define CATALOG_VERSION_NO 200006061 +#define CATALOG_VERSION_NO 200006071 #endif diff --git a/src/include/catalog/indexing.h b/src/include/catalog/indexing.h index c621bb042e..cc6903d1f3 100644 --- a/src/include/catalog/indexing.h +++ b/src/include/catalog/indexing.h @@ -8,7 +8,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: indexing.h,v 1.38 2000/06/07 02:44:40 momjian Exp $ + * $Id: indexing.h,v 1.39 2000/06/07 04:09:44 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -63,7 +63,7 @@ #define InheritsRelidSeqnoIndex "pg_inherits_relid_seqno_index" #define LanguageNameIndex "pg_language_name_index" #define LanguageOidIndex "pg_language_oid_index" -#define ListenerRelnamePidIndex "pg_listener_relname_pid_index" +#define ListenerPidRelnameIndex "pg_listener_pid_relname_index" #define OpclassDeftypeIndex "pg_opclass_deftype_index" #define OpclassNameIndex "pg_opclass_name_index" #define OperatorNameIndex "pg_operator_oprname_l_r_k_index" @@ -141,7 +141,7 @@ extern HeapTuple InheritsRelidSeqnoIndexScan(Relation heapRelation, Oid relid, int4 seqno); extern HeapTuple LanguageNameIndexScan(Relation heapRelation, char *lanName); extern HeapTuple LanguageOidIndexScan(Relation heapRelation, Oid lanId); -extern HeapTuple ListenerRelnamePidIndexScan(Relation heapRelation, char *relName, int4 pid); +extern HeapTuple ListenerPidRelnameIndexScan(Relation heapRelation, int4 pid, char *relName); extern HeapTuple OpclassDeftypeIndexScan(Relation heapRelation, Oid defType); extern HeapTuple OpclassNameIndexScan(Relation heapRelation, char *opcName); extern HeapTuple OperatorNameIndexScan(Relation heapRelation, @@ -190,7 +190,7 @@ DECLARE_UNIQUE_INDEX(pg_index_indexrelid_index on pg_index using btree(indexreli DECLARE_UNIQUE_INDEX(pg_inherits_relid_seqno_index on pg_inherits using btree(inhrelid oid_ops, inhseqno int4_ops)); DECLARE_UNIQUE_INDEX(pg_language_name_index on pg_language using btree(lanname name_ops)); DECLARE_UNIQUE_INDEX(pg_language_oid_index on pg_language using btree(oid oid_ops)); -DECLARE_UNIQUE_INDEX(pg_listener_relname_pid_index on pg_listener using btree(relname name_ops, listenerpid int4_ops)); +DECLARE_UNIQUE_INDEX(pg_listener_pid_relname_index on pg_listener using btree(listenerpid int4_ops, relname name_ops)); /* This column needs to allow multiple zero entries, but is in the cache */ DECLARE_INDEX(pg_opclass_deftype_index on pg_opclass using btree(opcdeftype oid_ops)); DECLARE_UNIQUE_INDEX(pg_opclass_name_index on pg_opclass using btree(opcname name_ops)); |
