BUG #2701: PQserverVersion function missing

Поиск
Список
Период
Сортировка
От Seth Gordon
Тема BUG #2701: PQserverVersion function missing
Дата
Msg-id 200610171325.k9HDPeLg065320@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #2701: PQserverVersion function missing  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      2701
Logged by:          Seth Gordon
Email address:      sethg+pg@ropine.com
PostgreSQL version: 7.4.7
Operating system:   Linux (Debian stable)
Description:        PQserverVersion function missing
Details:

The 8.0/8.1 documentation for libpq says the following about
PQserverVersion:

"Applications may use this to determine the version of the database server
they are connected to. The number is formed by converting the major, minor,
and revision numbers into two-decimal-digit numbers and appending them
together. For example, version 7.4.2 will be returned as 70402, and version
8.1 will be returned as 80100 (leading zeroes are not shown). Zero is
returned if the connection is bad."

But libpq for 7.4.7 does not have this function.  So this is either a bug in
the 7.4 code or a bug in the 8.1 documentation.

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

Предыдущее
От: "Rusty Conover"
Дата:
Сообщение: BUG #2697: SIGSEGV crash/assertion on insert statement w/ subselect (very simple test case)
Следующее
От: "Lachhman Dass"
Дата:
Сообщение: BUG #2698: Update table alias not supported