Re: [PATCH v5] Show detailed table persistence in \dt+

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH v5] Show detailed table persistence in \dt+
Дата
Msg-id 11253.1562098587@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH v5] Show detailed table persistence in \dt+  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: [PATCH v5] Show detailed table persistence in \dt+  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> On 2019-Jul-02, Tom Lane wrote:
>> * The persistence description values ought to be translatable, as
>> is the usual practice in describe.c.  This is slightly painful
>> because it requires tweaking the translate_columns[] values in a
>> non-constant way, but it's not that bad.

> LGTM.  I only fear that the cols_so_far thing is easy to break, and the
> breakage will be easy to miss.

Yeah, but that's pretty true of all the translatability stuff in
describe.c.  I wonder if there's any way to set up tests for that.
The fact that the .po files lag so far behind the source code seems
like an impediment --- even if we made a test case that presumed
--enable-nls and tried to exercise this, the lack of translations
for the new words would get in the way for a long while.

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH v4] Add \warn to psql
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: [PATCH v5] Show detailed table persistence in \dt+