Re: pgsql: Fix union for pgstat message types

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема Re: pgsql: Fix union for pgstat message types
Дата
Msg-id 20190504154802.q4ezzpkbryw7cngq@development
обсуждение исходный текст
Ответ на pgsql: Fix union for pgstat message types  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: pgsql: Fix union for pgstat message types  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
On Wed, May 01, 2019 at 10:34:52AM +0000, Magnus Hagander wrote:
>Fix union for pgstat message types
>
>The message type for temp files and for checksum failures were missing
>from the union. Due to the coding style used there was no compiler error
>when this happend. So change the code to actively use the union thereby
>producing a compiler error if the same mistake happens again, suggested
>by Tom Lane.
>

Should the tempfile bit be backported? That message was added in 9.2.

regards

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services 



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: pg_dump: Fix newline in error message
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Fix union for pgstat message types