verbose mode for pg_input_error_message?

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: verbose mode for pg_input_error_message?
Date: 2023-01-02 15:30:23
Message-ID: 139a68e1-bd1f-a9a7-b5fe-0be9845c6311@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I've been wondering if it might be a good idea to have a third parameter
for pg_input_error_message() which would default to false, but which if
true would cause it to emit the detail and hint fields, if any,  as well
as the message field from the error_data.

Thoughts?

cheers

andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Pryzby 2023-01-02 15:42:40 Re: Allow placeholders in ALTER ROLE w/o superuser
Previous Message Alexander Korotkov 2023-01-02 15:14:48 Re: Allow placeholders in ALTER ROLE w/o superuser