Re: PostgreSQL CHECK Constraint - Mailing list pgsql-general

From Karsten Hilbert
Subject Re: PostgreSQL CHECK Constraint
Date
Msg-id YVn31cG7pjg9hnvt@hermes.hilbert.loc
Whole thread Raw
In response to Re: PostgreSQL CHECK Constraint  (Shaozhong SHI <shishaozhong@gmail.com>)
Responses Re: PostgreSQL CHECK Constraint
List 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 by date:

Previous
From: Shaozhong SHI
Date:
Subject: Re: PostgreSQL CHECK Constraint
Next
From: Shaozhong SHI
Date:
Subject: Re: PostgreSQL CHECK Constraint