Re: [HACKERS] v10 pg_ctl compatibility

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [HACKERS] v10 pg_ctl compatibility
Дата
Msg-id 20170926194246.dcokyg6ylzgnkczw@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: [HACKERS] v10 pg_ctl compatibility  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2017-09-26 15:40:39 -0400, Tom Lane wrote:
> I'm not really feeling the need to insert a version check though.

It's only a mild preference here.


> Also, what would you check exactly?  Inquiring into what
> "postgres --version" returns is not very conclusive about what is
> actually running in the data directory pg_ctl has been pointed at.

Reading PG_VERSION ought to do the trick.

Greetings,

Andres Freund


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] v10 pg_ctl compatibility
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: [HACKERS] v10 pg_ctl compatibility