Re: Add support for logging the current role
Alvaro Herrera <alvherre@commandprompt.com>
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Stephen Frost <sfrost@snowman.net>, Andrew Dunstan <andrew@dunslane.net>, Robert Haas <robertmhaas@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-01-17T16:44:09Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Add support for an application_name parameter, which is displayed in
- 8217cfbd9918 9.0.0 cited
-
Make CSV column ordering a bit more logical.
- 230e8962f3a4 8.3.0 cited
-
Extend the format of CSV logs to include the additional information supplied
- 3bf66d6f1c3a 8.3.0 cited
-
Add virtual transaction IDs to CSVLOG output, so that messages coming from
- 77c166ba6cf6 8.3.0 cited
-
Provide for logfiles in machine readable CSV format. In consequence, rename
- fd801f4faa8e 8.3.0 cited
Excerpts from Tom Lane's message of sáb ene 15 00:34:40 -0300 2011: > Stephen Frost <sfrost@snowman.net> writes: > > What about something other than > > version_x_y? I could maybe see having a 'default' and an 'all' > > instead.. Then have the default be what we have currently and 'all' be > > the full list I'm thinking about. > > If "default" always means what it means today, I can live with that. > But if the meaning of "all" changes from version to version, that seems > like a royal mess. Again, I'm concerned that an external tool like > pgfouine be able to make sense of the value without too much context. > If it doesn't know what some of the columns are, it can just ignore them > --- but a magic summary identifier that it doesn't understand at all is > a problem. Maybe if we offered a way for the utility to find out the field list from the magic identifier, it would be enough. (It would be neat to have magic identifiers for "terse", "verbose", etc, that mimicked the behavior of client processing) -- Álvaro Herrera <alvherre@commandprompt.com> The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support