projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
330232c
)
Fix an oversight in an 8.3-era patch: pgstat_initstats should allow stats
author
Tom Lane
<
[email protected]
>
Fri, 2 Oct 2009 22:49:50 +0000
(22:49 +0000)
committer
Tom Lane
<
[email protected]
>
Fri, 2 Oct 2009 22:49:50 +0000
(22:49 +0000)
to be collected for sequences.
Report and fix by Akira Kurosawa
src/backend/postmaster/pgstat.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/postmaster/pgstat.c
b/src/backend/postmaster/pgstat.c
index d409b50d934fd3a1fad5cadba7f32b4b8bdbc458..1a818efb1bacefa705dedae4b4a16b9bfa371958 100644
(file)
--- a/
src/backend/postmaster/pgstat.c
+++ b/
src/backend/postmaster/pgstat.c
@@
-1415,7
+1415,8
@@
pgstat_initstats(Relation rel)
/* We only count stats for things that have storage */
if (!(relkind == RELKIND_RELATION ||
relkind == RELKIND_INDEX ||
- relkind == RELKIND_TOASTVALUE))
+ relkind == RELKIND_TOASTVALUE ||
+ relkind == RELKIND_SEQUENCE))
{
rel->pgstat_info = NULL;
return;