From: | Federico Di Gregorio <fog(at)dndg(dot)it> |
---|---|
To: | psycopg(at)lists(dot)postgresql(dot)org |
Subject: | Re: Integration of Psycopg with XTA |
Date: | 2018-09-27 08:14:35 |
Message-ID: | 99842134-5e39-e00b-997c-a49f0d43eb49@dndg.it |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | psycopg |
On 09/26/2018 10:36 PM, Christian Ferrari wrote:
[snip]
> I'm not a Python developer at all, but I see usage of htonl()
> function... if it has the same meaning of the C function it could be
> influenced by 32/64 architecture differences.
>
> Do you have any suggestions?
>
> What do you think about Federico's proposal to expose the pqconn
> pointer? Could ctypes "c_void_p" a viable option?
Would a PyCapsule work? https://docs.python.org/2/c-api/capsule.html
If yes, I already have some code in place to expose the PGconn* as a
capsule. I can just push it on my repo.
federico
--
Federico Di Gregorio federico(dot)digregorio(at)dndg(dot)it
DNDG srl http://dndg.it
The reverse side also has a reverse side. -- Japanese proverb
From | Date | Subject | |
---|---|---|---|
Next Message | Daniele Varrazzo | 2018-09-27 14:40:53 | Re: Integration of Psycopg with XTA |
Previous Message | Christian Ferrari | 2018-09-26 20:36:38 | Re: Integration of Psycopg with XTA |