Re: psycopg is the new psycopg3?

2020-11-19 Thread Patrick Starrenburg
Hi I think the straight package name "psycopg" would be good. PS On Thu, 19 Nov 2020 at 15:46, Daniele Varrazzo wrote: > Hello, > > I have received some concerned voices in regard to have a package called > "psycopg3". I guess many have been burned out by the Python 2 to 3 > transition, and no

'Psycopg2.errors' not referenced in packaged

2020-11-19 Thread Patrick Starrenburg
Hi I am using psycopg2 in a Django app. In my code I am checking for various exceptions, one of which is foreign key violations. I see in the psycopg2 docs https://www.psycopg.org/docs/errors.html that ForeignKeyViolation is under the base IntegrityError exception. I would like to be able to spec

Re: 'Psycopg2.errors' not referenced in packaged

2020-11-19 Thread Daniele Varrazzo
On Thu, 19 Nov 2020 at 15:42, Patrick Starrenburg wrote: > I am using psycopg2 in a Django app. In my code I am checking for various > exceptions, one of which is foreign key violations. > > I see in the psycopg2 docs https://www.psycopg.org/docs/errors.html that > ForeignKeyViolation > is unde