Re: BUG #2701: PQserverVersion function missing - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: BUG #2701: PQserverVersion function missing
Date
Msg-id 200610240239.k9O2dDg03370@momjian.us
Whole thread Raw
In response to Re: BUG #2701: PQserverVersion function missing  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #2701: PQserverVersion function missing  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.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.  The second example is to
highlight that 8.1 has a trailing "00".

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-bugs by date:

Previous
From: "Thomas H."
Date:
Subject: Re: BUG #2712: could not fsync segment: Permission
Next
From: Tom Lane
Date:
Subject: Re: BUG #2701: PQserverVersion function missing