pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: JDBC gripe list
Date: Thu, 31 Mar 2011 16:58:31 +0200
Message-ID: <201103311758.31457.achill@matrix.gatewaynet.com> (raw)
In-Reply-To: <alpine.BSO.2.00.1103311046270.25650@leary.csoft.net>
References: <AANLkTik0kW5_jCAc7h0T_Q5cCGx=tunasHJ=nf0X=+ij@mail.gmail.com>
	<C4DAC901169B624F933534A26ED7DF31034BBB6E@JENMAIL01.ad.intershop.net>
	<alpine.BSO.2.00.1103311046270.25650@leary.csoft.net>

Στις Thursday 31 March 2011 17:47:36 ο/η Kris Jurka έγραψε:
> 
> On Thu, 31 Mar 2011, Marc Mamin wrote:
> 
> >
> >>> Achilleas Mantzios, 31.03.2011 09:58:
> >> You mean log_line_prefix parameter. Ok but a
> >> log_line_prefix = '%d %a %u %p %c %m '
> >> while it prints correctly %a (application) (as set by SET application_name),
> >> it does not print correctly %u (user) (as set by SET ROLE).
> >
> > I would not say that %u return an incorrect user as the info stay 
> > relevant after changing the connection role, but an additional parameter 
> > to log the current role would be indeed interesting.
> >
> 
> A patch was worked on for the server for 9.1 to implement this, but it 
> didn't make it in, perhaps for 9.2...
> 
> https://commitfest.postgresql.org/action/patch_view?id=524

Cool, thanks Kris.

> 
> Kris Jurka
> 



-- 
Achilleas Mantzios



view thread (65+ messages)  latest in thread

Message-ID: <201103311758.31457.achill@matrix.gatewaynet.com>
Permalink:  ../201103311758.31457.achill@matrix.gatewaynet.com/
Also on:    postgresql.org/message-id/201103311758.31457.achill@matrix.gatewaynet.com

 · 

reply

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-jdbc@postgresql.org
  Cc: achill@matrix.gatewaynet.com
  Subject: Re: JDBC gripe list
  In-Reply-To: <201103311758.31457.achill@matrix.gatewaynet.com>
  References: <AANLkTik0kW5_jCAc7h0T_Q5cCGx=tunasHJ=nf0X=+ij@mail.gmail.com> <C4DAC901169B624F933534A26ED7DF31034BBB6E@JENMAIL01.ad.intershop.net> <alpine.BSO.2.00.1103311046270.25650@leary.csoft.net> <201103311758.31457.achill@matrix.gatewaynet.com>

* 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