Re: PostgreSQL CHECK Constraint

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: PostgreSQL CHECK Constraint
Date: 2021-10-03 18:35:01
Message-ID: YVn31cG7pjg9hnvt@hermes.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Shaozhong SHI 2021-10-03 18:44:41 Re: PostgreSQL CHECK Constraint
Previous Message Shaozhong SHI 2021-10-03 18:16:32 Re: PostgreSQL CHECK Constraint

Browse pgsql-sql by date

  From Date Subject
Next Message Shaozhong SHI 2021-10-03 18:44:41 Re: PostgreSQL CHECK Constraint
Previous Message Shaozhong SHI 2021-10-03 18:16:32 Re: PostgreSQL CHECK Constraint