Re: [HACKERS] show "aggressive" or not in autovacuum logs

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [HACKERS] show "aggressive" or not in autovacuum logs
Дата
Msg-id 20171019110338.awwzc3y674co7wof@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: [HACKERS] show "aggressive" or not in autovacuum logs  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
Ответы Re: [HACKERS] show "aggressive" or not in autovacuum logs  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
Список pgsql-hackers
Kyotaro HORIGUCHI wrote:

> How about the followings?
> 
> "automatic [agressive ]vacuum of table \"%s..."
> "[aggressive ]vacuuming \"%s..."

That form of log message seems acceptable to me (first one is missing a 'g').

In any case, please do not construct the sentence with %s expanding the
word, because that is going to cause a problem for translations.  Use an
'if' test with two full sentences instead.  Yes, as Robert said, it's
going to add more strings, but that's okay.

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


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: [HACKERS] Fix a typo in libpq/auth.c
Следующее
От: Sokolov Yura
Дата:
Сообщение: Re: [HACKERS] Fix performance degradation of contended LWLock on NUMA