Re: Feature branches merged to master for 2.8 release

Поиск
Список
Период
Сортировка
От Daniele Varrazzo
Тема Re: Feature branches merged to master for 2.8 release
Дата
Msg-id CA+mi_8YTPwWUdpu6uOqLuZYtgrjSQpTzU=MMJKoXYOzQvryOcw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Feature branches merged to master for 2.8 release  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Список psycopg
On Mon, Oct 15, 2018 at 6:43 PM Karsten Hilbert <Karsten.Hilbert@gmx.net> wrote:

> I would then stick with UniqueViolation.
>
> Perhaps an attribute
>
>         UniqueViolation.pg_error_name = unique_violation
>
> so people _can_ know what to grep for ?

It makes sense of course. And I was hoping it was available in the
diag object [1]. But apparently it's not... So good call: I'll try to
add it to the classes.

[1] http://initd.org/psycopg/docs/extensions.html#psycopg2.extensions.Diagnostics

-- Daniele


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

Предыдущее
От: Daniele Varrazzo
Дата:
Сообщение: Re: Feature branches merged to master for 2.8 release
Следующее
От: "Brian M Hamlin"
Дата:
Сообщение: Python vers, was 2.8 feature branch