Re: Integration of Psycopg with XTA - Mailing list psycopg

From Daniele Varrazzo
Subject Re: Integration of Psycopg with XTA
Date
Msg-id CA+mi_8a5Sm=Zum+8uRX+gDLrzzEU+F-x5xjommxL5e7jLBxHkg@mail.gmail.com
Whole thread Raw
In response to Integration of Psycopg with XTA  (Christian Ferrari <camauz@yahoo.com>)
Responses Re: Integration of Psycopg with XTA
List 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 by date:

Previous
From: Federico Di Gregorio
Date:
Subject: Re: Integration of Psycopg with XTA
Next
From: Christian Ferrari
Date:
Subject: Re: Integration of Psycopg with XTA