Re: Logical Replication - detail message with names of missing columns

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Logical Replication - detail message with names of missing columns
Дата
Msg-id 20200911153543.GA26744@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Logical Replication - detail message with names of missing columns  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Logical Replication - detail message with names of missing columns
Re: Logical Replication - detail message with names of missing columns
Список pgsql-hackers
On 2020-Sep-11, Tom Lane wrote:

> Check, but you could imagine that the column-list string is constructed
> with code along the lines of
> 
>     if (first)
>         appendStringInfo(buf, _("\"%s\""), colname);
>     else
>         appendStringInfo(buf, _(", \"%s\""), colname);
> thus allowing a translator to replace the quote marks.

This works OK for my language at least.  I couldn't find any guidance on
whether there's a problem doing things this way for RTL languages etc,
but +1 for doing it this way.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: TDE (Transparent Data Encryption) supported ?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: factorial function/phase out postfix operators?