Re: Logging (was Re: Suggestion GRANT ALTER, TRIGGER ON ALTER) - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: Logging (was Re: Suggestion GRANT ALTER, TRIGGER ON ALTER)
Date
Msg-id 095c01c31f3b$b7d02970$6500a8c0@fhp.internal
Whole thread Raw
In response to Suggestion GRANT ALTER, TRIGGER ON ALTER  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Logging (was Re: Suggestion GRANT ALTER, TRIGGER ON ALTER)
List pgsql-hackers
> Strikes me as a tad unwieldy --- the useful cases would correspond to
> very long log_statement lists, and in every new release the list would
> change.  It's probably better to have a very small number of categories,
> something like
> SELECT
> INSERT/UPDATE/DELETE
> all DDL
> and be able to flip logging on/off per category.  But we need to think
> about exactly what the categories are.

How about 'log to table' like Oracle can (apparently) do.  All sorts of
problems I can think with it, but then at least people can just query it
using normal SQL.

Chris



pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: Suggestion GRANT ALTER, TRIGGER ON ALTER
Next
From: Rod Taylor
Date:
Subject: Free Space?