Re: Plans for 2.8 - Mailing list psycopg

From Karsten Hilbert
Subject Re: Plans for 2.8
Date
Msg-id 20181005121650.GC5215@hermes.hilbert.loc
Whole thread Raw
In response to Plans for 2.8  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
List psycopg
On Thu, Oct 04, 2018 at 01:38:03PM +0100, Daniele Varrazzo wrote:

> [2] https://github.com/psycopg/psycopg2/blob/master/NEWS
> 
> The feature I'm the most excited about (and worried about its
> reception) is to raise a different exception for every postgres error
> message (see #682).

You needn't as far as I'm concerned because as long as this

> The error classes are [...] subclasses of the previously existing ones

is true there should not be a problem.

Will the new classes still have .pgcode set to their
respective values ?

Thanks,
Karsten
-- 
GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B


psycopg by date:

Previous
From: Christian Ferrari
Date:
Subject: Re: Integration of Psycopg with XTA
Next
From: Christian Ferrari
Date:
Subject: Re: Integration of Psycopg with XTA