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

From Álvaro Herrera
Subject Re: Better title output for psql \dt \di etc. commands
Date
Msg-id 202502050927.rifpzcisvkt3@alvherre.pgsql
Whole thread Raw
In response to Re: Better title output for psql \dt \di etc. commands  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Better title output for psql \dt \di etc. commands
List pgsql-hackers
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.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Introduce XID age and inactive timeout based replication slot invalidation
Next
From: Ilia Evdokimov
Date:
Subject: Re: Sample rate added to pg_stat_statements