Re: Logging (was Re: Suggestion GRANT ALTER, TRIGGER ON ALTER)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
Cc: josh(at)agliodbs(dot)com, pgsql-hackers(at)postgresql(dot)org, "David Fetter" <david(at)fetter(dot)org>
Subject: Re: Logging (was Re: Suggestion GRANT ALTER, TRIGGER ON ALTER)
Date: 2003-05-21 04:23:47
Message-ID: 4698.1053491027@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au> writes:
> 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.

Right offhand I do not see how a failed transaction could make any
entries (that later xacts could see, that is) in such a table. And
surely error entries are precisely the most interesting ones in a log.
So you'd need to commit some major-league abuse of the transactional
and MVCC mechanisms to make this work usefully.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-05-21 04:25:50 Re: Free Space?
Previous Message Rod Taylor 2003-05-21 02:45:32 Free Space?