Re: [HACKERS] Location of PG_CATALOG_VERSION

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Location of PG_CATALOG_VERSION
Дата
Msg-id 63987.1495416497@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [HACKERS] Location of PG_CATALOG_VERSION  (Vicky Vergara <vicky_vergara@hotmail.com>)
Список pgsql-hackers
Vicky Vergara <vicky_vergara@hotmail.com> writes:
> From this message:
> https://www.postgresql.org/message-id/1585.1472410329%40sss.pgh.pa.us
> I deduced that in the code I can use
> PG_CATALOG_VERSION

No, sorry, thinko on my part.  It's CATALOG_VERSION_NO, from
<catalog/catversion.h>, that people usually use for this sort of thing.
That gives you finer grain than PG_VERSION would, although that only
matters if you're concerned about working with development versions.
        regards, tom lane



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

Предыдущее
От: Vicky Vergara
Дата:
Сообщение: [HACKERS] Location of PG_CATALOG_VERSION
Следующее
От: Masahiko Sawada
Дата:
Сообщение: [HACKERS] Fix a typo in hash.c