Re: Better title output for psql \dt \di etc. commands - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Better title output for psql \dt \di etc. commands
Date
Msg-id 817699.1738772808@sss.pgh.pa.us
Whole thread Raw
In response to Re: Better title output for psql \dt \di etc. commands  (Álvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-hackers
=?utf-8?Q?=C3=81lvaro?= Herrera <alvherre@alvh.no-ip.org> writes:
> On 2025-Feb-04, Tom Lane wrote:
>> The implementation I had in mind was to just invent a
>> pg_log_error_internal() macro alias for pg_log_error().
>> That'd take about two lines counting the explanatory comment.
>> This approach would fail to suppress the cost of gettext's
>> trying to look up the string, but surely we aren't concerned
>> about that here --- we just want to not burden translators
>> with the string.

> Yeah, okay, that seems good enough for me.  I agree that the cost of an
> unnecessary gettext() call is negligible.

Sounds good, I'll proceed along those lines.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: [PATCH] SVE popcount support
Next
From: Robert Haas
Date:
Subject: Re: Eagerly scan all-visible pages to amortize aggressive vacuum