Re: Map connection().status() to name?

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: Map connection().status() to name?
Дата
Msg-id a812a451-94a5-d697-6074-6d8119684193@BlueTreble.com
обсуждение исходный текст
Ответ на Re: Map connection().status() to name?  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Список psycopg
On 11/18/16 5:34 PM, Daniele Varrazzo wrote:
> I don't see why not. What constant do you want to reverse? The groups
> in `extensions` are status, isolation level, transaction status. Would
> you provide 3 different functions to reverse them?

That's what I was thinking.

Would there be any value in being able to map back to the constants
themselves? I can't really think of any use for that, but I'm not really
a python guy so...
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)


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

Предыдущее
От: Daniele Varrazzo
Дата:
Сообщение: Re: Map connection().status() to name?
Следующее
От: Yang Gao
Дата:
Сообщение: Does psycopg2 support Kerberos for Postgres?