Re: [INTERFACES] Patch for DBD::Pg pg_relcheck problem

Поиск
Список
Период
Сортировка
От Lee Kindness
Тема Re: [INTERFACES] Patch for DBD::Pg pg_relcheck problem
Дата
Msg-id 15862.3615.266952.454641@kelvin.csl.co.uk
обсуждение исходный текст
Ответ на Re: [INTERFACES] Patch for DBD::Pg pg_relcheck problem  (Ian Barwick <barwick@gmx.net>)
Ответы Re: [INTERFACES] Patch for DBD::Pg pg_relcheck problem
Список pgsql-hackers
Ian Barwick writes:> On Tuesday 10 December 2002 00:47, Tom Lane wrote:> > In the next protocol version update
(hopefully7.4) I would like to see> > the basic version string (eg, "7.3.1" or "7.4devel") delivered to the> > client
automaticallyduring connection startup and then available from a> > libpq inquiry function.  This would eliminate the
needto call version()> > explicitly and to know that you must skip "PostgreSQL " in its output.> Something along the
linesof >   char *PQversion(const PGconn *conn) ?
 

Probably:
int PQversion(const PGconn *conn)

would be better, and easier to parse? For example the value returned
for 7.3.1 would be 7003001; for 7.4 7004000; for 101.10.2
101010002. This allows simple numerical tests...

Lee.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [INTERFACES] Patch for DBD::Pg pg_relcheck problem
Следующее
От: Lamar Owen
Дата:
Сообщение: Re: Let's create a release team