Re: How to capture error message and save to a table in PostgreSQL?

Поиск
Список
Период
Сортировка
От Karsten Hilbert
Тема Re: How to capture error message and save to a table in PostgreSQL?
Дата
Msg-id YWHd4oFbPd3eKpI0@hermes.hilbert.loc
обсуждение исходный текст
Ответ на How to capture error message and save to a table in PostgreSQL?  (Shaozhong SHI <shishaozhong@gmail.com>)
Ответы Re: How to capture error message and save to a table in PostgreSQL?  (Rob Sargent <robjsargent@gmail.com>)
Список pgsql-sql
Am Fri, Oct 08, 2021 at 10:45:45AM +0100 schrieb Shaozhong SHI:

> I wish to test out to produce a table when data violates constraints when
> insert into a new table with constraint set.  How to capture and save error
> message to a new table?

That depends on how you access the table and at which level
you wish the above to happen.

You need to be less generic to get better help.

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



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

Предыдущее
От: Steve Midgley
Дата:
Сообщение: Re: A new scenario for check constraints
Следующее
От: Rob Sargent
Дата:
Сообщение: Re: How to capture error message and save to a table in PostgreSQL?