Re: Audit-trail engine: getting the application's layer user_id - Mailing list pgsql-general

From Tilmann Singer
Subject Re: Audit-trail engine: getting the application's layer user_id
Date
Msg-id 20070509192609.GG8213@tils.net
Whole thread Raw
In response to Re: Audit-trail engine: getting the application's layer user_id  ("Marcelo de Moraes Serpa" <celoserpa@gmail.com>)
List pgsql-general
* Marcelo de Moraes Serpa <celoserpa@gmail.com> [20070509 21:14]:
> Just replying to say a big thank you ...
> I compiled the C extension with the
> code you , did all the necessary logic and finally solved it. Thank you very
> much for your help!

I second that!

I finally settled with the simpler solution which was to create a
temporary table instead of using a global variable in a C function
which seemed reasonably fast enough for us and doesn't introduce the
maintainance dependency on a custom C module.


Til

pgsql-general by date:

Previous
From: Michael Glaesemann
Date:
Subject: Re: Views- Advantages and Disadvantages
Next
From: "Dann Corbit"
Date:
Subject: Re: Views- Advantages and Disadvantages