Re: Audit-trail engine: getting the application's layer user_id

From: Tilmann Singer <tils-pgsql(at)tils(dot)net>
To: Marcelo de Moraes Serpa <celoserpa(at)gmail(dot)com>
Cc: Manuel Sugawara <masm(at)fciencias(dot)unam(dot)mx>, pgsql-general(at)postgresql(dot)org
Subject: Re: Audit-trail engine: getting the application's layer user_id
Date: 2007-05-09 19:26:09
Message-ID: 20070509192609.GG8213@tils.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

* Marcelo de Moraes Serpa <celoserpa(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dann Corbit 2007-05-09 20:18:22 Re: Views- Advantages and Disadvantages
Previous Message Michael Glaesemann 2007-05-09 19:14:17 Re: Views- Advantages and Disadvantages