summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-11-22 11:23:38 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2012-11-22 11:25:09 -0500
commit614ba4844d3f771e56999dcdecc53b78d884d5d5 (patch)
tree21e36b81a25c387f70a5a2681559299648374cb2 /src/interfaces/ecpg/test
parent875d3f3039f09ba74f442ceb95411e3a75f18048 (diff)
Fix pg_resetxlog to use correct path to postmaster.pid.
Since we've already chdir'd into the data directory, the file should be referenced as just "postmaster.pid", without prefixing the directory path. This is harmless in the normal case where an absolute PGDATA path is used, but quite dangerous if a relative path is specified, since the program might then fail to notice an active postmaster. Reported by Hari Babu. This got broken in my commit eb5949d190e80360386113fde0f05854f0c9824d, so patch all active versions.
Diffstat (limited to 'src/interfaces/ecpg/test')
0 files changed, 0 insertions, 0 deletions