!1460 删除无用的syscache
Merge pull request !1460 from pengjiong/remove_syscache
This commit is contained in:
15
src/common/backend/utils/cache/syscache.cpp
vendored
15
src/common/backend/utils/cache/syscache.cpp
vendored
@ -554,16 +554,6 @@ static const struct cachedesc cacheinfo[] = {{AggregateRelationId, /* AGGFNOID *
|
|||||||
{Anum_pgxc_slice_relid, Anum_pgxc_slice_type, Anum_pgxc_slice_relname, Anum_pgxc_slice_sindex},
|
{Anum_pgxc_slice_relid, Anum_pgxc_slice_type, Anum_pgxc_slice_relname, Anum_pgxc_slice_sindex},
|
||||||
1024},
|
1024},
|
||||||
#endif
|
#endif
|
||||||
{GsPolicyLabelRelationId, /* POLICYLABELNAME */
|
|
||||||
GsPolicyLabelNameIndexId,
|
|
||||||
3,
|
|
||||||
{Anum_gs_policy_label_labelname, Anum_gs_policy_label_fqdnnamespace, Anum_gs_policy_label_fqdnid, 0},
|
|
||||||
256},
|
|
||||||
{GsPolicyLabelRelationId, /* POLICYLABELOID */
|
|
||||||
GsPolicyLabelOidIndexId,
|
|
||||||
1,
|
|
||||||
{ObjectIdAttributeNumber, 0, 0, 0},
|
|
||||||
256},
|
|
||||||
#ifndef ENABLE_MULTIPLE_NODES
|
#ifndef ENABLE_MULTIPLE_NODES
|
||||||
{ProcedureRelationId, /* PROCNAMEARGSNSP */
|
{ProcedureRelationId, /* PROCNAMEARGSNSP */
|
||||||
ProcedureNameArgsNspNewIndexId,
|
ProcedureNameArgsNspNewIndexId,
|
||||||
@ -673,11 +663,6 @@ static const struct cachedesc cacheinfo[] = {{AggregateRelationId, /* AGGFNOID *
|
|||||||
1,
|
1,
|
||||||
{Anum_streaming_reaper_status_id, 0, 0, 0},
|
{Anum_streaming_reaper_status_id, 0, 0, 0},
|
||||||
2048},
|
2048},
|
||||||
{StreamingReaperStatusRelationId, /* REAPERSTATUSOID */
|
|
||||||
StreamingCQReaperStatusOidIndexId,
|
|
||||||
1,
|
|
||||||
{ObjectIdAttributeNumber, 0, 0, 0},
|
|
||||||
2048},
|
|
||||||
{PgSynonymRelationId, /* SYNOID */
|
{PgSynonymRelationId, /* SYNOID */
|
||||||
SynonymOidIndexId,
|
SynonymOidIndexId,
|
||||||
1,
|
1,
|
||||||
|
@ -111,8 +111,6 @@ enum SysCacheIdentifier {
|
|||||||
PGXCAPPWGMAPPINGOID,
|
PGXCAPPWGMAPPINGOID,
|
||||||
PGXCSLICERELID,
|
PGXCSLICERELID,
|
||||||
#endif
|
#endif
|
||||||
POLICYLABELNAME,
|
|
||||||
POLICYLABELOID,
|
|
||||||
PROCNAMEARGSNSP,
|
PROCNAMEARGSNSP,
|
||||||
#ifndef ENABLE_MULTIPLE_NODES
|
#ifndef ENABLE_MULTIPLE_NODES
|
||||||
PROCALLARGS,
|
PROCALLARGS,
|
||||||
@ -134,7 +132,6 @@ enum SysCacheIdentifier {
|
|||||||
STREAMOID,
|
STREAMOID,
|
||||||
STREAMRELID,
|
STREAMRELID,
|
||||||
REAPERCQOID,
|
REAPERCQOID,
|
||||||
REAPERSTATUSOID,
|
|
||||||
SYNOID,
|
SYNOID,
|
||||||
SYNONYMNAMENSP,
|
SYNONYMNAMENSP,
|
||||||
TABLESPACEOID,
|
TABLESPACEOID,
|
||||||
|
Reference in New Issue
Block a user