Re: PostgreSQL CHECK Constraint

Поиск
Список
Период
Сортировка
От Karsten Hilbert
Тема Re: PostgreSQL CHECK Constraint
Дата
Msg-id YVn31cG7pjg9hnvt@hermes.hilbert.loc
обсуждение исходный текст
Ответ на Re: PostgreSQL CHECK Constraint  (Shaozhong SHI <shishaozhong@gmail.com>)
Ответы Re: PostgreSQL CHECK Constraint  (Shaozhong SHI <shishaozhong@gmail.com>)
Список pgsql-general
Am Sun, Oct 03, 2021 at 07:16:32PM +0100 schrieb Shaozhong SHI:

> That is interesting.  Can errors be captured and saved as data with
> scripting?

Depends on what the script does.

If the script runs (or is written in) Python the canonical PG
driver (psycopg2/3) will give you such data.

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



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

Предыдущее
От: Shaozhong SHI
Дата:
Сообщение: Re: PostgreSQL CHECK Constraint
Следующее
От: Shaozhong SHI
Дата:
Сообщение: Re: PostgreSQL CHECK Constraint