Re: Add support for logging the current role
Stephen Frost <sfrost@snowman.net>
From: Stephen Frost <sfrost@snowman.net>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Itagaki Takahiro <itagaki.takahiro@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-02-15T13:09:03Z
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
* Robert Haas (robertmhaas@gmail.com) wrote: > The payoff > (getting %U) seems quite out of proportion to the potential downsides > of making a change of this type at this late date. 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. I'd be quite frustrated to not have *any* way to log the current role in 9.1. I don't think anyone is going to be too bent out of shape that we can't do it with CSV initially, so long as we agree that we'll try and add that for 9.2. Pushing the CSV log changes to 9.2 would be fine with me, and I'd be happy to continue working on it and the GUC changes I was suggesting to address the long config line, and perhaps figure out a way to handle changes on SIGHUP. Thanks, Stephen