Re: Application name patch - v3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Application name patch - v3
Date: 2009-11-26 15:09:42
Message-ID: 1581.1259248182@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dave Page <dpage(at)pgadmin(dot)org> writes:
> OK - something like this? Should keep non-printable/control characters
> out of logs too...

Personally I'd use guc_strdup and then modify the string in-place,
but that's just a matter of taste I guess. Otherwise it seems
reasonable.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2009-11-26 15:11:12 Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION
Previous Message Andrew Dunstan 2009-11-26 15:09:03 Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION