Skip to content

Commit 8f401e8

Browse files
committed
Cleanup for pg_statistic commit.
1 parent 74f418e commit 8f401e8

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/backend/utils/cache/syscache.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.43 1999/11/24 16:52:38 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.44 1999/11/24 17:09:27 momjian Exp $
1111
*
1212
* NOTES
1313
* These routines allow the parser/planner/executor to perform
@@ -34,6 +34,7 @@
3434
#include "catalog/pg_proc.h"
3535
#include "catalog/pg_rewrite.h"
3636
#include "catalog/pg_shadow.h"
37+
#include "catalog/pg_statistic.h"
3738
#include "catalog/pg_type.h"
3839
#include "utils/catcache.h"
3940
#include "utils/temprel.h"
@@ -368,7 +369,7 @@ NULL,NULL
368369
},
369370
offsetof(FormData_pg_statistic, stacommonval),
370371
StatisticRelidAttnumOpIndex,
371-
StatisticRelidAttnumOpIndexScan},
372+
(ScanFunc) StatisticRelidAttnumOpIndexScan},
372373
{TypeRelationName, /* TYPENAME */
373374
1,
374375
{

src/include/catalog/indexing.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: indexing.h,v 1.31 1999/11/24 16:52:48 momjian Exp $
10+
* $Id: indexing.h,v 1.32 1999/11/24 17:09:28 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -202,7 +202,7 @@ DECLARE_UNIQUE_INDEX(pg_rewrite_rulename_index on pg_rewrite using btree(rulenam
202202
xDECLARE_UNIQUE_INDEX(pg_shadow_name_index on pg_shadow using btree(usename name_ops));
203203
xDECLARE_UNIQUE_INDEX(pg_shadow_sysid_index on pg_shadow using btree(usesysid int4_ops));
204204
*/
205-
DECLARE_INDEX(pg_statistic_relid_att_op_index on pg_shadow using btree(starelid oid_ops, staattnum int2_ops, staop oid_ops));
205+
DECLARE_INDEX(pg_statistic_relid_att_op_index on pg_statistic using btree(starelid oid_ops, staattnum int2_ops, staop oid_ops));
206206
DECLARE_INDEX(pg_trigger_tgconstrname_index on pg_trigger using btree(tgconstrname name_ops));
207207
DECLARE_INDEX(pg_trigger_tgconstrrelid_index on pg_trigger using btree(tgconstrrelid oid_ops));
208208
DECLARE_INDEX(pg_trigger_tgrelid_index on pg_trigger using btree(tgrelid oid_ops));

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy