Re: Totally weird behaviour in org.postgresql.Driver

Поиск
Список
Период
Сортировка
От Peter
Тема Re: Totally weird behaviour in org.postgresql.Driver
Дата
Msg-id 49be591f$0$1348$834e42db@reader.greatnowhere.com
обсуждение исходный текст
Ответ на Totally weird behaviour in org.postgresql.Driver  ("Peter" <peter@greatnowhere.com>)
Список pgsql-jdbc
> Set a user variable after you've obtained a connection from the pool, and
> use that to log user-specific values.  That way, you maintain the benefits
> of connection pools, but can still identify individual users.

Do you mean setting a variable (or connection property) in Java? That wont
work - I need it for much more than just auditing. There are tons of PGSQL
code that relies on knowing the logged-on user, and performs complex data
analysis based on that. Now, if I had a way to set user-defined variable in
Postgres connection context that would work - but does not seem like PG
supports it...

Peter



В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Osamu Tachiyama"
Дата:
Сообщение: Question of Encryption and ECCN number
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: Totally weird behaviour in org.postgresql.Driver