Skip site navigation (1) Skip section navigation (2)

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

From: Lee Kindness <lkindness(at)csl(dot)co(dot)uk>
To: Ian Barwick <barwick(at)gmx(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, dbi-dev(at)perl(dot)org,pgsql-interfaces(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org,Lee Kindness <lkindness(at)csl(dot)co(dot)uk>
Subject: Re: [INTERFACES] Patch for DBD::Pg pg_relcheck problem
Date: 2002-12-10 15:54:07
Message-ID: 15862.3615.266952.454641@kelvin.csl.co.uk (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-interfaces
Ian Barwick writes:
 > On Tuesday 10 December 2002 00:47, Tom Lane wrote:
 > > In the next protocol version update (hopefully 7.4) I would like to see
 > > the basic version string (eg, "7.3.1" or "7.4devel") delivered to the
 > > client automatically during connection startup and then available from a
 > > libpq inquiry function.  This would eliminate the need to call version()
 > > explicitly and to know that you must skip "PostgreSQL " in its output.
 > Something along the lines of 
 >   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.

In response to

Responses

pgsql-hackers by date

Next:From: Lamar OwenDate: 2002-12-10 16:06:55
Subject: Re: [HACKERS] Let's create a release team
Previous:From: Tom LaneDate: 2002-12-10 15:48:04
Subject: Re: [INTERFACES] Patch for DBD::Pg pg_relcheck problem

pgsql-interfaces by date

Next:From: Ian BarwickDate: 2002-12-10 16:35:47
Subject: Re: [INTERFACES] Patch for DBD::Pg pg_relcheck problem
Previous:From: Tom LaneDate: 2002-12-10 15:48:04
Subject: Re: [INTERFACES] Patch for DBD::Pg pg_relcheck problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group