Re: PostgreSQL CHECK Constraint - Mailing list pgsql-general

From Shaozhong SHI
Subject Re: PostgreSQL CHECK Constraint
Date
Msg-id CA+i5Jwb8GmfL_SE7L5YpX6hu5073VJgP89beRrHTFP22O=hh-g@mail.gmail.com
Whole thread Raw
In response to Re: PostgreSQL CHECK Constraint  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Responses Re: PostgreSQL CHECK Constraint
List pgsql-general
Hi, Kirsten,
That sounds brilliant.
Are there any examples on the web these days?
Regards,
David

On Sunday, 3 October 2021, Karsten Hilbert <Karsten.Hilbert@gmx.net> wrote:
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: Karsten Hilbert
Date:
Subject: Re: PostgreSQL CHECK Constraint
Next
From: Christian Ramseyer
Date:
Subject: Re: PostgreSQL CHECK Constraint