Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitedf9e2c

Browse files
committed
Make the fetch_statentries_for_relation routine local again.
Removing machinery on analysing duplicates we don't need this function for now.Remember, it (and its struct) have been changing, it would be a burden to copyit inside the extension on such an early stage.
1 parent315a73d commitedf9e2c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/backend/statistics/extended_stats.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ typedef struct StatExtEntry
7575
}StatExtEntry;
7676

7777

78+
staticList*fetch_statentries_for_relation(Relationpg_statext,Oidrelid);
7879
staticVacAttrStats**lookup_var_attr_stats(Relationrel,Bitmapset*attrs,List*exprs,
7980
intnvacatts,VacAttrStats**vacatts);
8081
staticvoidstatext_store(OidstatOid,boolinh,
@@ -419,7 +420,7 @@ statext_is_kind_built(HeapTuple htup, char type)
419420
/*
420421
* Return a list (of StatExtEntry) of statistics objects for the given relation.
421422
*/
422-
List*
423+
staticList*
423424
fetch_statentries_for_relation(Relationpg_statext,Oidrelid)
424425
{
425426
SysScanDescscan;

‎src/include/statistics/statistics.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ extern MVNDistinct *statext_ndistinct_load(Oid mvoid, bool inh);
101101
externMVDependencies*statext_dependencies_load(Oidmvoid,boolinh);
102102
externMCVList*statext_mcv_load(Oidmvoid,boolinh);
103103

104-
externList*fetch_statentries_for_relation(Relationpg_statext,Oidrelid);
105104
externvoidBuildRelationExtStatistics(Relationonerel,boolinh,doubletotalrows,
106105
intnumrows,HeapTuple*rows,
107106
intnatts,VacAttrStats**vacattrstats);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp