Re: Application name patch - v3 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Application name patch - v3
Date
Msg-id 1581.1259248182@sss.pgh.pa.us
Whole thread Raw
In response to Re: Application name patch - v3  (Dave Page <dpage@pgadmin.org>)
List pgsql-hackers
Dave Page <dpage@pgadmin.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


pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: Re: ECPG patch 1, dynamic cursorname
Next
From: "Andrew Dunstan"
Date:
Subject: Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION