aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-11-22 11:23:33 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2012-11-22 11:24:58 -0500
commit806e6d1ddb90fcbc3b59b17434cafeb4af51c126 (patch)
tree64364344e5de43b4dea413f7b43a1f0a4655feef /src/tutorial/basics.source
parentdb3658b34faed7e247c9dc61e39a3a054c3cb5d8 (diff)
downloadpostgresql-806e6d1ddb90fcbc3b59b17434cafeb4af51c126.tar.gz
postgresql-806e6d1ddb90fcbc3b59b17434cafeb4af51c126.zip
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/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions