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

Re: BUG #2701: PQserverVersion function missing

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Seth Gordon <sethg+pg(at)ropine(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2701: PQserverVersion function missing
Date: 2006-10-24 04:29:05
Message-ID: 3389.1161664145@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
Bruce Momjian <bruce(at)momjian(dot)us> writes:
> Tom Lane wrote:
>> Bruce Momjian <bruce(at)momjian(dot)us> writes:
>>> Actually, the 8.0.X libpq function would still report 70401 if connected
>>> to a 7.4.1 database,
>> 
>> That was exactly the reason why the docs were written like that.  Using
>> two examples that are both from the same major release doesn't seem to
>> me to be an improvement.

> Actually, the problem with 8.0.X is that the major version number had a
> zero in it.  8.1 does not, so I think it is actually better to use the
> same major version number in both examples.

You're ignoring the point at hand, which is exactly that the libpq
function will work when connected to servers older (in fact much older)
than it is.

			regards, tom lane

In response to

Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2006-10-24 05:58:54
Subject: Re: BUG #2712: could not fsync segment: Permission
Previous:From: Bruce MomjianDate: 2006-10-24 02:39:13
Subject: Re: BUG #2701: PQserverVersion function missing

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