Re: Add jsonlog log_destination for JSON server logs
От
Bossart, Nathan
Тема
Re: Add jsonlog log_destination for JSON server logs
Дата
Msg-id
DD8AD4CE-63B7-44BE-A3D2-14A4E4B19C26@amazon.com
Ответ на
Re: Add jsonlog log_destination for JSON server logs (Michael Paquier)
Список
Дерево обсуждения
Add jsonlog log_destination for JSON server logs Sehrope Sarkuni <sehrope@jackdb.com>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
Re: Add jsonlog log_destination for JSON server logs Sehrope Sarkuni <sehrope@jackdb.com>
Re: Add jsonlog log_destination for JSON server logs Sehrope Sarkuni <sehrope@jackdb.com>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
Re: Add jsonlog log_destination for JSON server logs Andrew Dunstan <andrew@dunslane.net>
Re: Add jsonlog log_destination for JSON server logs Greg Stark <stark@mit.edu>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
Re: Add jsonlog log_destination for JSON server logs Sehrope Sarkuni <sehrope@jackdb.com>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
Re: Add jsonlog log_destination for JSON server logs Sehrope Sarkuni <sehrope@jackdb.com>
Re: Add jsonlog log_destination for JSON server logs Sehrope Sarkuni <sehrope@jackdb.com>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
Re: Add jsonlog log_destination for JSON server logs Sehrope Sarkuni <sehrope@jackdb.com>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
Re: Add jsonlog log_destination for JSON server logs "Bossart, Nathan" <bossartn@amazon.com>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
Re: Add jsonlog log_destination for JSON server logs Andres Freund <andres@anarazel.de>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
Re: Add jsonlog log_destination for JSON server logs Andrew Dunstan <andrew@dunslane.net>
Re: Add jsonlog log_destination for JSON server logs Andrew Dunstan <andrew@dunslane.net>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
Re: Add jsonlog log_destination for JSON server logs Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Add jsonlog log_destination for JSON server logs Tom Lane <tgl@sss.pgh.pa.us>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
Re: Add jsonlog log_destination for JSON server logs "Bossart, Nathan" <bossartn@amazon.com>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
Re: Add jsonlog log_destination for JSON server logs Michael Paquier <michael@paquier.xyz>
On 10/5/21, 12:22 AM, "Michael Paquier" wrote:
> - 0001 does some refactoring of the file rotation in syslogger.c,
> that's the same patch as previously posted.
My compiler is unhappy with 5c6e33f:
syslogger.c: In function ‘logfile_rotate_dest’:
syslogger.c:1302:11: warning: ‘logFileExt’ may be used uninitialized in this function [-Wmaybe-uninitialized]
filename = logfile_getname(fntime, logFileExt);
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The attached patch seems to fix it.
Nathan
В списке pgsql-hackers по дате отправления
От: Amit Kapila
Дата: