Re: verbose mode for pg_input_error_message?

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: verbose mode for pg_input_error_message?
Date: 2023-02-23 19:30:38
Message-ID: 20230223193038.GA471139@nathanxps13
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Feb 23, 2023 at 10:40:48AM -0800, Nathan Bossart wrote:
> On Tue, Jan 10, 2023 at 03:41:12PM -0800, Nathan Bossart wrote:
>> My vote would be to redefine the existing pg_input_error_message() function
>> to return a record, but I recognize that this would inflate the patch quite
>> a bit due to all the existing uses in the tests. If this is the only
>> argument against this approach, I'm happy to help with the patch.
>
> Here's an attempt at this.

This seems to have made cfbot angry. Will post a new version shortly.

--
Nathan Bossart
Amazon Web Services: https://aws.amazon.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2023-02-23 19:35:09 Re: PG 15 (and to a smaller degree 14) regression due to ExprEvalStep size
Previous Message Jeff Davis 2023-02-23 19:09:10 pgsql: Refactor to add pg_strcoll(), pg_strxfrm(), and variants.