Re: widen vacuum buffer counters

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: widen vacuum buffer counters
Дата
Msg-id
20200205201808.GA30278@alvherre.pgsql
Ответ на
Список
Дерево обсуждения
widen vacuum buffer counters Alvaro Herrera <alvherre@2ndquadrant.com>
Re: widen vacuum buffer counters Tom Lane <tgl@sss.pgh.pa.us>
Re: widen vacuum buffer counters Michael Paquier <michael@paquier.xyz>
Re: widen vacuum buffer counters Tom Lane <tgl@sss.pgh.pa.us>
Re: widen vacuum buffer counters Alvaro Herrera <alvherre@2ndquadrant.com>
Re: widen vacuum buffer counters Julien Rouhaud <rjuju123@gmail.com>
On 2020-Jan-31, Tom Lane wrote:

> Also, %zd is the wrong format code for int64.  Recommended practice
> these days is to use "%lld" with an explicit cast of the printf argument
> to long long (just to be sure).  That doesn't work safely before v12,
> and if you did insist on back-patching further, you'd need to jump
> through hoops to avoid having platform-specific format codes in a
> translatable string.  (The side-effects for translation seem like
> an independent argument against back-patching.)

Pushed with that change; did not backpatch, because I don't think it's
really worth the possible breakage :-)

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


В списке pgsql-hackers по дате отправления
От: Jeff Davis
Дата:
От: Mahendra Singh Thalor
Дата:
FAQ