Re: pgsql: XLogReader general code cleanup
| От | Peter Eisentraut |
|---|---|
| Тема | Re: pgsql: XLogReader general code cleanup |
| Дата | |
| Msg-id | 56FFEF52.5010908@gmx.net обсуждение исходный текст |
| Ответ на | pgsql: XLogReader general code cleanup (Alvaro Herrera <alvherre@alvh.no-ip.org>) |
| Ответы |
Re: pgsql: XLogReader general code cleanup
|
| Список | pgsql-committers |
On 03/30/2016 05:57 PM, Alvaro Herrera wrote:
> XLogReader general code cleanup
This is causing compiler warnings on 32-bit environments(?):
xlogreader.c: In function ‘XLogReadRecord’:
xlogreader.c:334:7: error: format ‘%lu’ expects argument of type ‘long
unsigned int’, but argument 5 has type ‘unsigned int’ [-Werror=format=]
"invalid record length at %X/%X: wanted %lu, got %u",
^
xlogreader.c: In function ‘ValidXLogRecordHeader’:
xlogreader.c:633:7: error: format ‘%lu’ expects argument of type ‘long
unsigned int’, but argument 5 has type ‘unsigned int’ [-Werror=format=]
"invalid record length at %X/%X: wanted %lu, got %u",
^
В списке pgsql-committers по дате отправления: