pg_upgrade: call 'postgres' binary to get data directory location

Bruce Momjian <bruce@momjian.us>

Commit: a0efc714531d3dfd02fafd39e80d058cef6703b0
Author: Bruce Momjian <bruce@momjian.us>
Date: 2015-04-01T22:25:45Z
Releases: 9.5.0
pg_upgrade:  call 'postgres' binary to get data directory location

This matches the binary 'pg_ctl' calls.  Previously we called the
'postmaster'.

Report by Christoph Berg

Files

PathChange+/−
contrib/pg_upgrade/option.c modified +1 −1