Re: Add support for logging the current role
Stephen Frost <sfrost@snowman.net>
From: Stephen Frost <sfrost@snowman.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andrew Dunstan <andrew@dunslane.net>, Robert Haas <robertmhaas@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-01-15T03:20:39Z
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
* Tom Lane (tgl@sss.pgh.pa.us) wrote: > everything that looks at this GUC value > will know instantly what it is for each version. > The last bit is kind of a killer for tools like pgfouine, no? Ugh.. Could we just accept it as input but return the full list if asked for it> > In any case I thought the > expectation here was that the default column list would be frozen at > what it is now, and probably will never change. This I don't like.. When I install a new version fresh, I like to get all of the "bells & whistles" that go along with it, which, in my view, would include new fields that the smart PG folks have decided might be useful for me. I'd like to provide a way for users who are upgrading to be able to get the old behavior back, to minimize the trouble for them, and being able to say "just change the version_9_1 to version_9_0 in your log_csv_fields GUC" is a heck of a lot better than "well, rip out the default and replace it with this huge list of fields". I'd been puzzling over how to deal with this big list of fields in postgresql.conf and I do like the idea of some kind of short-cut being provided to ease the pain for users. 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. Thanks, Stephen