Re: Postgres version check

2018-05-31 Thread Abhijit Menon-Sen
At 2018-05-31 21:58:08 +0200, a...@gulbrandsen.priv.no wrote:
>
> Patch most welcome. db/postgres.cpp line near line 693.

I pushed a couple of patches to address this.

-- ams



Re: Postgres version check

2018-05-31 Thread Arnt Gulbrandsen

On Thursday 31 May 2018 21:38:58 CEST, ja...@mansionfamily.plus.com wrote:

Is this trying to tell me:
 - it doesn't work on 10.x, or
 - the way it does the check is a bit broken
 ?

OK I could check the latter - but the former is a straight question.


It ought to work. I'm surprised the check breaks, IIRC we thought the check 
would work until postgres version UINT_MAX/1 when we wrote it... but of 
course the postgres server_version format can be changed.


Patch most welcome. db/postgres.cpp line near line 693.

Arnt