Re: auditing in postgresql - Mailing list pgsql-general

From Jeff Davis
Subject Re: auditing in postgresql
Date
Msg-id 1188580106.6199.71.camel@dogma.ljc.laika.com
Whole thread Raw
In response to Re: auditing in postgresql  ("Merlin Moncure" <mmoncure@gmail.com>)
Responses Re: auditing in postgresql  ("Merlin Moncure" <mmoncure@gmail.com>)
List pgsql-general
On Thu, 2007-08-30 at 21:43 -0400, Merlin Moncure wrote:
> Well, a SRF may be unsuitable for various reasons, but maybe views are
> better. I really like views more and more lately (better than
> functions as a rule, I think).
>
> you have some query, select yadda
> create view log_yadda as
>   select yadda
>     union all select null, null, null from log_func();
>

Interesting idea, I hadn't thought of that. Not perfect, but
interesting.

The "returns query" might help reduce the penalty of using a SRF. Maybe
I'll look into that.

Regards,
    Jeff Davis


pgsql-general by date:

Previous
From: "Marco Bizzarri"
Date:
Subject: computing and updating the size of a table with large objects
Next
From: "Merlin Moncure"
Date:
Subject: Re: auditing in postgresql