From: Eric E <whalesuit@bonbon.net>
To: pgsql-odbc@postgresql.org
Subject: Re: ODBC Rewrite
Date: Tue, 07 Dec 2004 13:41:14 -0500
Message-ID: <41B5F94A.8090605@bonbon.net> (raw)
In-Reply-To: <16716.24.91.171.78.1102428945.squirrel@mail.mohawksoft.com>
References: <16716.24.91.171.78.1102428945.squirrel@mail.mohawksoft.com>
While you all are doing this thinking, can I put in am idea?
I, like many others, am working on doing auditing in Postgres.
Something that would be very useful for auditing in a web application
environment would be to be able to pass various identifiers to the db
before any SQL statement is executed. In particular, I'm thinking of
something like Oracle's
SET_IDENTIFIER('string') feature (e.g.:
http://www.quest-pipelines.com/newsletter-v5/0604_C.htm), only
implemented through a driver hook, so that you could set the driver to
always pass this kind of identifier before executing any SQL. This
would allow a very straightforward way to manage users and auditing in a
setting where creating db users is not feasible, and it would be immune
to the problems of connection pooling.
Thoughts? Is this a bad thing to build into the driver?
Cheers,
Eric
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: whalesuit@bonbon.net
Subject: Re: ODBC Rewrite
In-Reply-To: <41B5F94A.8090605@bonbon.net>
References: <16716.24.91.171.78.1102428945.squirrel@mail.mohawksoft.com> <41B5F94A.8090605@bonbon.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox