Re: Integration of Psycopg with XTA
От | Federico Di Gregorio |
---|---|
Тема | Re: Integration of Psycopg with XTA |
Дата | |
Msg-id | 99842134-5e39-e00b-997c-a49f0d43eb49@dndg.it обсуждение исходный текст |
Ответ на | Re: Integration of Psycopg with XTA (Christian Ferrari <camauz@yahoo.com>) |
Список | 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.digregorio@dndg.it DNDG srl http://dndg.it The reverse side also has a reverse side. -- Japanese proverb
В списке psycopg по дате отправления: