Re: Plans for 2.8

Поиск
Список
Период
Сортировка
От Karsten Hilbert
Тема Re: Plans for 2.8
Дата
Msg-id 20181005121650.GC5215@hermes.hilbert.loc
обсуждение исходный текст
Ответ на Plans for 2.8  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Christian Ferrari
Дата:
Сообщение: Re: Integration of Psycopg with XTA
Следующее
От: Christian Ferrari
Дата:
Сообщение: Re: Integration of Psycopg with XTA