Re: Add support for logging the current role

Поиск
Список
Период
Сортировка
Искать
От
Stephen Frost
Тема
Re: Add support for logging the current role
Дата
Msg-id
20110215152621.GA4116@tamriel.snowman.net
Ответ на
Список
Дерево обсуждения
Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Andrew Dunstan <andrew@dunslane.net>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Andrew Dunstan <andrew@dunslane.net>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Andrew Dunstan <andrew@dunslane.net>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Itagaki Takahiro <itagaki.takahiro@gmail.com>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Itagaki Takahiro <itagaki.takahiro@gmail.com>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Itagaki Takahiro <itagaki.takahiro@gmail.com>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Itagaki Takahiro <itagaki.takahiro@gmail.com>
Re: Add support for logging the current role Noah Misch <noah@leadboat.com>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Add support for logging the current role "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Alvaro Herrera <alvherre@commandprompt.com>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Andrew Dunstan <andrew@dunslane.net>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Itagaki Takahiro <itagaki.takahiro@gmail.com>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Itagaki Takahiro <itagaki.takahiro@gmail.com>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Andrew Dunstan <andrew@dunslane.net>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Andrew Dunstan <andrew@dunslane.net>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Andrew Dunstan <andrew@dunslane.net>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Bruce Momjian <bruce@momjian.us>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Josh Berkus <josh@agliodbs.com>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Andrew Dunstan <andrew@dunslane.net>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Alvaro Herrera <alvherre@commandprompt.com>
Re: Add support for logging the current role Andrew Dunstan <andrew@dunslane.net>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Andrew Dunstan <andrew@dunslane.net>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Andrew Dunstan <andrew@dunslane.net>
Re: Add support for logging the current role Aidan Van Dyk <aidan@highrise.ca>
Re: Add support for logging the current role Tom Lane <tgl@sss.pgh.pa.us>
Re: Add support for logging the current role Andrew Dunstan <andrew@dunslane.net>
Re: Add support for logging the current role Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
Re: Add support for logging the current role Robert Haas <robertmhaas@gmail.com>
Re: Add support for logging the current role Stephen Frost <sfrost@snowman.net>
* Stephen Frost (sfrost@snowman.net) wrote:
> I'd be happy to go back to the original patch/idea of just the simple
> addition of %U as an option for log_line_prefix.  

Updated patch attached which just adds %U support to log_line_prefix.
Will work on adding CSV support for this in 9.2, along with associated
other issues regarding supporting variable CSV format output.

	Thanks,

		Stephen

commit c1b06c04af0c886c6ec27917368f3c674227ed2d
Author: Stephen Frost 
Date:   Tue Feb 15 10:21:38 2011 -0500

    Add %U option to log_line_prefix
    
    This patch adds a %U option to log_line_prefix, to allow logging
    of the current role (previously not possible).  Also reworks %u
    a bit and adds documentation to clarify what each means.

В списке pgsql-hackers по дате отправления
От: Bruce Momjian
Дата:
От: Robert Haas
Дата:
FAQ