summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlvaro Herrera2013-08-19 21:48:17 +0000
committerAlvaro Herrera2013-08-19 21:52:52 +0000
commitdb5b49cdd4f481828b227f03b373fbc9bde4301a (patch)
tree890838cb2180513f4f08184d20cde1a5ce3078ef /doc
parent38c69237c21186038f6902373a0f06af1c2f7cfb (diff)
Fix removal of files in pgstats directories
Instead of deleting all files in stats_temp_directory and the permanent directory on a crash, only remove those files that match the pattern of files we actually write in them, to avoid possibly clobbering existing unrelated contents of the temporary directory. Per complaint from Jeff Janes, and subsequent discussion, starting at message CAMkU=1z9+7RsDODnT4=cDFBRBp8wYQbd_qsLcMtKEf-oFwuOdQ@mail.gmail.com Also, fix a bug in the same routine to avoid removing files from the permanent directory twice (instead of once from that directory and then from the temporary directory), also per report from Jeff Janes, in message CAMkU=1wbk947=-pAosDMX5VC+sQw9W4ttq6RM9rXu=MjNeEQKA@mail.gmail.com
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions