Re: Integration of Psycopg with XTA

Поиск
Список
Период
Сортировка
От Daniele Varrazzo
Тема Re: Integration of Psycopg with XTA
Дата
Msg-id CA+mi_8a5Sm=Zum+8uRX+gDLrzzEU+F-x5xjommxL5e7jLBxHkg@mail.gmail.com
обсуждение исходный текст
Ответ на Integration of Psycopg with XTA  (Christian Ferrari <camauz@yahoo.com>)
Ответы Re: Integration of Psycopg with XTA  (Christian Ferrari <camauz@yahoo.com>)
Список psycopg
On Tue, Sep 25, 2018 at 9:57 PM Christian Ferrari <camauz@yahoo.com> wrote:

> Stated that replacing "PGconn *" with "void *" in the API stack would not be an issue, the question is: what's the
bestway to retrieve something that can be transformed in a C pointer that could be passed to XTA constructor?
 

This is a hack I passed some time ago to an ukulele friend to get the
PGconn pointer out of the connection object:
<https://gist.github.com/dvarrazzo/b7c8f050bbd39dd2c104>. You may need
trasposing it for guitar though.

-- Daniele


В списке psycopg по дате отправления:

Предыдущее
От: Federico Di Gregorio
Дата:
Сообщение: Re: Integration of Psycopg with XTA
Следующее
От: Christian Ferrari
Дата:
Сообщение: Re: Integration of Psycopg with XTA