Fix pg_resetxlog to use correct path to postmaster.pid.
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.

arcivanov/postgres-xl,arcivanov/postgres-xl,arcivanov/postgres-xl,snaga/postgres-xl,postmind-net/postgres-xl,kmjungersen/PostgresXL,postmind-net/postgres-xl,arcivanov/postgres-xl,snaga/postgres-xl,arcivanov/postgres-xl,postmind-net/postgres-xl,snaga/postgres-xl,snaga/postgres-xl,kmjungersen/PostgresXL,kmjungersen/PostgresXL,postmind-net/postgres-xl,kmjungersen/PostgresXL,kmjungersen/PostgresXL,arcivanov/postgres-xl,snaga/postgres-xl,postmind-net/postgres-xl