From: | David Fetter <david(at)fetter(dot)org> |
---|---|
To: | Josh Berkus <josh(at)agliodbs(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: How could we make it simple to access the log as a table? |
Date: | 2012-05-22 17:15:33 |
Message-ID: | 20120522171533.GB30943@fetter.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, May 21, 2012 at 05:53:55PM -0700, Josh Berkus wrote:
> Hackers,
>
> There's a lot of great information in the postgres logs. While we
> eventually want to get more sophisticated about providing users with
> status and history information, for 9.3 it would be really nice to
> just offer the current logs in system view format.
>
> Certainly this can be done ad-hoc using CSV format and csv_fdw.
> However, such setups are fragile due to log rotation and other
> issues. It seems like we could come up with a better way. Ideas?
Would it help to automate this stuff with that CSV format? The trick,
as I see it, is to make those on-disk log files be partitions of a
table.
Stephen Frost's point is well-taken, but I'm not sure we need to make
it a blocker for this.
Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2012-05-22 17:18:41 | Re: Changing the concept of a DATABASE |
Previous Message | Simon Riggs | 2012-05-22 17:09:50 | Re: heap metapages |