Getting the query id

Поиск
Список
Период
Сортировка
От Daniel Son
Тема Getting the query id
Дата
Msg-id CAFhKaXD-c5wYK3JiLTZFTeuzuma5+ktgtaYgftjQisuDA5gNOA@mail.gmail.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: [HACKERS] Streaming replication for psycopg2
Следующее
От: Dan Sawyer
Дата:
Сообщение: psycopg2 open file for reading