forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit654e8e4
committed
Save pg_stat_statements statistics file into $PGDATA/pg_stat directory at shutdown.
187492b changed pgstat.c so thatthe stats files were saved into $PGDATA/pg_stat directory when the serverwas shutdowned. But it accidentally forgot to change the location ofpg_stat_statements permanent stats file. This commit fixes pg_stat_statementsso that its stats file is also saved into $PGDATA/pg_stat at shutdown.Since this fix changes the file layout, we don't back-patch it to 9.3where this oversight was introduced.1 parent55fb759 commit654e8e4
File tree
3 files changed
+9
-9
lines changed- contrib/pg_stat_statements
- src
- backend/postmaster
- include
3 files changed
+9
-9
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
80 | 80 |
| |
81 | 81 |
| |
82 | 82 |
| |
83 |
| - | |
| 83 | + | |
84 | 84 |
| |
85 | 85 |
| |
86 | 86 |
| |
|
Lines changed: 0 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
70 |
| - | |
71 |
| - | |
72 |
| - | |
73 |
| - | |
74 |
| - | |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 | 70 |
| |
79 | 71 |
| |
80 | 72 |
| |
|
Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
23 | 31 |
| |
24 | 32 |
| |
25 | 33 |
| |
|
0 commit comments
Comments
(0)