Re: BUG #2701: PQserverVersion function missing
От | Bruce Momjian |
---|---|
Тема | Re: BUG #2701: PQserverVersion function missing |
Дата | |
Msg-id | 200610242111.k9OLB7k24697@momjian.us обсуждение исходный текст |
Ответ на | Re: BUG #2701: PQserverVersion function missing (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-bugs |
Tom Lane wrote: > Bruce Momjian <bruce@momjian.us> writes: > > 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. > > 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. Fine, but the examples are not trying to show that. The example is to show the trailing zero added for 8.1. -- Bruce Momjian bruce@momjian.us EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. +
В списке pgsql-bugs по дате отправления: