pg_upgrade: call 'postgres' binary to get data directory location
authorBruce Momjian <bruce@momjian.us>
Wed, 1 Apr 2015 22:25:45 +0000 (18:25 -0400)
committerBruce Momjian <bruce@momjian.us>
Wed, 1 Apr 2015 22:25:45 +0000 (18:25 -0400)
commita0efc714531d3dfd02fafd39e80d058cef6703b0
treeb5c0f814bd4be0377ec94fedcfb3741b50ae13fa
parent89840d7d3fa943cb932f6a00707fdb17a9cab001
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
contrib/pg_upgrade/option.c