aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2014-03-05 13:03:29 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2014-03-05 13:03:29 -0300
commit13ea43ab83871a8bed5b9cdf7ec18c62bf63df4f (patch)
treee2fa89a4efb4267f6edc996a117c334d1ed148e8 /contrib/postgres_fdw/postgres_fdw.c
parenta5363a696a46d97b94ac63394f3952e9769ee113 (diff)
downloadpostgresql-13ea43ab83871a8bed5b9cdf7ec18c62bf63df4f.tar.gz
postgresql-13ea43ab83871a8bed5b9cdf7ec18c62bf63df4f.zip
Remove the correct pgstat file on DROP DATABASE
We were unlinking the permanent file, not the non-permanent one. But since the stat collector already unlinks all permanent files on startup, there was nothing for it to unlink. The non-permanent file remained in place, and was copied to the permanent directory on shutdown, so in effect no file was ever dropped. Backpatch to 9.3, where the issue was introduced by commit 187492b6c2e8. Before that, there were no per-database files and thus no file to drop on DROP DATABASE. Per report from Thom Brown. Author: Tomáš Vondra
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions