Re: Renaming of pg_xlog and pg_clog - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Renaming of pg_xlog and pg_clog
Date
Msg-id 28746.1475505583@sss.pgh.pa.us
Whole thread Raw
In response to Re: Renaming of pg_xlog and pg_clog  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> I think the tests for PQserverVersion(conn) / 100 >= 1000 are strange.
> I submit that either PQserverVersion(conn) >= 100000 or
> PQserverVersion(conn) / 10000 >= 10 is an easier-to-understand test.
> I vote for the first style.

+1, that's the way most existing tests of this sort are written.

(Right at the moment, there's kind of a lot of zeroes there, but
once we get to version 11 it'll be less bad.)
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Copy-editing for contrib/pg_visibility documentation.
Next
From: Stephen Frost
Date:
Subject: Re: COPY command with RLS bug