Re: v10 pg_ctl compatibility

From: Andres Freund <andres(at)anarazel(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: v10 pg_ctl compatibility
Date: 2017-09-26 19:42:46
Message-ID: 20170926194246.dcokyg6ylzgnkczw@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Janes 2017-09-26 20:00:21 Re: v10 pg_ctl compatibility
Previous Message Tom Lane 2017-09-26 19:40:39 Re: v10 pg_ctl compatibility