pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lee Kindness <lkindness@csl.co.uk>
To: Ian Barwick <barwick@gmx.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: dbi-dev@perl.org, pgsql-interfaces@postgresql.org, pgsql-hackers@postgresql.org, Lee Kindness <lkindness@csl.co.uk>
Subject: Re: [INTERFACES] Patch for DBD::Pg pg_relcheck problem
Date: Tue, 10 Dec 2002 15:54:07 +0000
Message-ID: <15862.3615.266952.454641@kelvin.csl.co.uk> (raw)
In-Reply-To: <200212101638.03642.barwick@gmx.net>
References: <200212091631.00125.barwick@gmx.net>
	<200212100034.31936.barwick@gmx.net>
	<20819.1039477650@sss.pgh.pa.us>
	<200212101638.03642.barwick@gmx.net>

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.



view thread (22+ messages)  latest in thread

Message-ID: <15862.3615.266952.454641@kelvin.csl.co.uk>
Permalink:  ../15862.3615.266952.454641@kelvin.csl.co.uk/
Also on:    postgresql.org/message-id/15862.3615.266952.454641@kelvin.csl.co.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: lkindness@csl.co.uk, barwick@gmx.net, tgl@sss.pgh.pa.us
  Subject: Re: [INTERFACES] Patch for DBD::Pg pg_relcheck problem
  In-Reply-To: <15862.3615.266952.454641@kelvin.csl.co.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox