Re: Renaming of pg_xlog and pg_clog

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Renaming of pg_xlog and pg_clog
Дата
Msg-id 28746.1475505583@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Renaming of pg_xlog and pg_clog  (Robert Haas <robertmhaas@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Copy-editing for contrib/pg_visibility documentation.
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: COPY command with RLS bug