Re: Patch to implement pg_current_logfile() function

Поиск
Список
Период
Сортировка
Искать
От
Vik Fearing
Тема
Re: Patch to implement pg_current_logfile() function
Дата
Msg-id
4ec0bcda-38dd-7297-7864-c547b99e5af5@2ndquadrant.fr
Ответ на
Список
Дерево обсуждения
Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function Vik Fearing <vik@2ndquadrant.fr>
Re: Patch to implement pg_current_logfile() function Tom Lane <tgl@sss.pgh.pa.us>
Re: Patch to implement pg_current_logfile() function Robert Haas <robertmhaas@gmail.com>
Re: Patch to implement pg_current_logfile() function Tom Lane <tgl@sss.pgh.pa.us>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function Tom Lane <tgl@sss.pgh.pa.us>
Re: Patch to implement pg_current_logfile() function "Shulgin, Oleksandr" <oleksandr.shulgin@zalando.de>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function Tom Lane <tgl@sss.pgh.pa.us>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function Michael Paquier <michael.paquier@gmail.com>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Michael Paquier <michael.paquier@gmail.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Christoph Berg <myon@debian.org>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function Christoph Berg <myon@debian.org>
Re: Patch to implement pg_current_logfile() function Christoph Berg <myon@debian.org>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function Christoph Berg <myon@debian.org>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Christoph Berg <myon@debian.org>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Christoph Berg <myon@debian.org>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function Robert Haas <robertmhaas@gmail.com>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Robert Haas <robertmhaas@gmail.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Tom Lane <tgl@sss.pgh.pa.us>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Robert Haas <robertmhaas@gmail.com>
Re: Patch to implement pg_current_logfile() function Tom Lane <tgl@sss.pgh.pa.us>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function Robert Haas <robertmhaas@gmail.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Robert Haas <robertmhaas@gmail.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Kevin Grittner <kgrittn@gmail.com>
Re: [HACKERS] Patch to implement pg_current_logfile() function Michael Paquier <michael.paquier@gmail.com>
Re: Patch to implement pg_current_logfile() function Tom Lane <tgl@sss.pgh.pa.us>
Re: Patch to implement pg_current_logfile() function Haribabu Kommi <kommi.haribabu@gmail.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
Re: Patch to implement pg_current_logfile() function Robert Haas <robertmhaas@gmail.com>
Re: Patch to implement pg_current_logfile() function Gilles Darold <gilles.darold@dalibo.com>
Re: Patch to implement pg_current_logfile() function "Karl O. Pinc" <kop@meme.com>
On 03/09/2016 07:32 PM, Gilles Darold wrote:
> This patch implements the pg_current_logfile() function that can be
> used as follow. The function returns NULL when logging_collector
> is not active and outputs a warning.

I'm really late to this discussion, and I apologize for that; but I'm
wondering why we're doing all this through some random file on disk.

Why not just use the stats collector and have everything we'd want in a
pg_stat_logger view just like we have for pg_stat_archiver and others?
That makes the most sense to me.

We could then also count the number of rotations per time/size and whatnot.
-- 
Vik Fearing                                          +33 6 46 75 15 36
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


В списке pgsql-hackers по дате отправления
От: Fabien COELHO
Дата:
От: Kouhei Kaigai
Дата:
FAQ