Re: [GENERAL] Backward compatibility
| От | David G. Johnston |
|---|---|
| Тема | Re: [GENERAL] Backward compatibility |
| Дата | |
| Msg-id | CAKFQuwZsMjEqFzLb0mCj4CF_ouufaLTc7EqdA8YjtTbygBtJVw@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: [GENERAL] Backward compatibility (Igor Korot <ikorot01@gmail.com>) |
| Ответы |
Re: [GENERAL] Backward compatibility
|
| Список | pgsql-general |
On Thursday, July 20, 2017, Igor Korot <ikorot01@gmail.com> wrote:
Hi, David,
On Thu, Jul 20, 2017 at 10:23 PM, David G. Johnston
<david.g.johnston@gmail.com> wrote:
> On Thu, Jul 20, 2017 at 7:13 PM, Igor Korot <ikorot01@gmail.com> wrote:
>> Is there a query or a libpg function which can return the version of
>> the server I'm running?
>
Its PQ not PG - and I'd doubt it but I don't directly use libpq.
Is there a way to get a version_major, version_minr and version_extra?
There is no 'extra'. The last two digits are the minor and everything before is the major. Usually you'd use inequality comparisons so there'd be no point. If here is a way beside parsing I'm not aware of it.
David J.
В списке pgsql-general по дате отправления: