From: | Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com> |
---|---|
To: | Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com> |
Cc: | "psycopg(at)postgresql(dot)org" <psycopg(at)postgresql(dot)org> |
Subject: | Re: Map connection().status() to name? |
Date: | 2016-11-19 00:29:58 |
Message-ID: | a812a451-94a5-d697-6074-6d8119684193@BlueTreble.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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)
From | Date | Subject | |
---|---|---|---|
Next Message | Yang Gao | 2016-12-02 18:46:11 | Does psycopg2 support Kerberos for Postgres? |
Previous Message | Daniele Varrazzo | 2016-11-18 23:34:54 | Re: Map connection().status() to name? |