Re: [smartos-discuss] Python psycopg2 issue

2018-02-16 Thread Daniel Kontsek
That was quick :) Thank you guys. Daniel > On 16 Feb 2018, at 23:40, Mike Gerdts wrote: > > An untested fix is at: > > https://github.com/mgerdts/psycopg2/commit/eb711c78d71384600113d549ec6714aa079928a3 > >

Re: [smartos-discuss] Python psycopg2 issue

2018-02-16 Thread Garrett D'Amore
Well, we have a timeradd and timersub, but they are macros. Probably the simplest thing is to simply hide that behind #ifndef timeradd …. - Garrett On Fri, Feb 16, 2018 at 2:40 PM Jonathan Perkin wrote: > * On 2018-02-16 at 22:09 GMT, Daniel Kontsek wrote: > > > We are

Re: [smartos-discuss] Python psycopg2 issue

2018-02-16 Thread Mike Gerdts
An untested fix is at: https://github.com/mgerdts/psycopg2/commit/eb711c78d71384600113d549ec6714aa079928a3 It builds on SmartOS. I've not built it on Solaris 10 or run it anywhere. MIke On Fri, Feb 16, 2018 at 4:09 PM, Daniel Kontsek wrote: > Hello everyone, > > We are

Re: [smartos-discuss] Python psycopg2 issue

2018-02-16 Thread Jonathan Perkin
* On 2018-02-16 at 22:09 GMT, Daniel Kontsek wrote: > We are deploying a lot of Python software on SmartOS zones and since we are > also using Postgres, we need the psycopg2 Python module. Recently, I came a > across an issue with the latest version of psycopg2 which now, can not be > compiled

[smartos-discuss] Python psycopg2 issue

2018-02-16 Thread Daniel Kontsek
Hello everyone, We are deploying a lot of Python software on SmartOS zones and since we are also using Postgres, we need the psycopg2 Python module. Recently, I came a across an issue with the latest version of psycopg2 which now, can not be compiled on SmartOS: