Re: Better title output for psql \dt \di etc. commands

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Better title output for psql \dt \di etc. commands
Дата
Msg-id 817699.1738772808@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Better title output for psql \dt \di etc. commands  (Álvaro Herrera <alvherre@alvh.no-ip.org>)
Список 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 по дате отправления: