Getting the query id - Mailing list psycopg

From Daniel Son
Subject Getting the query id
Date
Msg-id CAFhKaXD-c5wYK3JiLTZFTeuzuma5+ktgtaYgftjQisuDA5gNOA@mail.gmail.com
Whole thread Raw
List psycopg
Hi,

I am using psycopg2 to connect to our Redshift clusters.

Is there a way to get the Redshift query id from the cursor?

I wish to use the query_id to pull and record query data from the Redshift systems tables.

Thanks,
Daniel


psycopg by date:

Previous
From: Craig Ringer
Date:
Subject: Re: [HACKERS] Streaming replication for psycopg2
Next
From: Dan Sawyer
Date:
Subject: psycopg2 open file for reading