aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-11-24 17:09:28 +0000
committerBruce Momjian <bruce@momjian.us>1999-11-24 17:09:28 +0000
commit8f401e804216ef03eaaa995b8a3d8b77d430b78a (patch)
treec910015ad8d83a2b7f6bb878737bac0dd874d1af
parent74f418eb9aeecbb34d004aae44e96df037f2dc25 (diff)
downloadpostgresql-8f401e804216ef03eaaa995b8a3d8b77d430b78a.tar.gz
postgresql-8f401e804216ef03eaaa995b8a3d8b77d430b78a.zip
Cleanup for pg_statistic commit.
-rw-r--r--src/backend/utils/cache/syscache.c5
-rw-r--r--src/include/catalog/indexing.h4
2 files changed, 5 insertions, 4 deletions
diff --git a/src/backend/utils/cache/syscache.c b/src/backend/utils/cache/syscache.c
index d3e0648695d..9c94c1e05a1 100644
--- a/src/backend/utils/cache/syscache.c
+++ b/src/backend/utils/cache/syscache.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.43 1999/11/24 16:52:38 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.44 1999/11/24 17:09:27 momjian Exp $
*
* NOTES
* These routines allow the parser/planner/executor to perform
@@ -34,6 +34,7 @@
#include "catalog/pg_proc.h"
#include "catalog/pg_rewrite.h"
#include "catalog/pg_shadow.h"
+#include "catalog/pg_statistic.h"
#include "catalog/pg_type.h"
#include "utils/catcache.h"
#include "utils/temprel.h"
@@ -368,7 +369,7 @@ NULL,NULL
},
offsetof(FormData_pg_statistic, stacommonval),
StatisticRelidAttnumOpIndex,
- StatisticRelidAttnumOpIndexScan},
+ (ScanFunc) StatisticRelidAttnumOpIndexScan},
{TypeRelationName, /* TYPENAME */
1,
{
diff --git a/src/include/catalog/indexing.h b/src/include/catalog/indexing.h
index 6faab87a1a9..d2cdc1a1762 100644
--- a/src/include/catalog/indexing.h
+++ b/src/include/catalog/indexing.h
@@ -7,7 +7,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: indexing.h,v 1.31 1999/11/24 16:52:48 momjian Exp $
+ * $Id: indexing.h,v 1.32 1999/11/24 17:09:28 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -202,7 +202,7 @@ DECLARE_UNIQUE_INDEX(pg_rewrite_rulename_index on pg_rewrite using btree(rulenam
xDECLARE_UNIQUE_INDEX(pg_shadow_name_index on pg_shadow using btree(usename name_ops));
xDECLARE_UNIQUE_INDEX(pg_shadow_sysid_index on pg_shadow using btree(usesysid int4_ops));
*/
-DECLARE_INDEX(pg_statistic_relid_att_op_index on pg_shadow using btree(starelid oid_ops, staattnum int2_ops, staop oid_ops));
+DECLARE_INDEX(pg_statistic_relid_att_op_index on pg_statistic using btree(starelid oid_ops, staattnum int2_ops, staop oid_ops));
DECLARE_INDEX(pg_trigger_tgconstrname_index on pg_trigger using btree(tgconstrname name_ops));
DECLARE_INDEX(pg_trigger_tgconstrrelid_index on pg_trigger using btree(tgconstrrelid oid_ops));
DECLARE_INDEX(pg_trigger_tgrelid_index on pg_trigger using btree(tgrelid oid_ops));