From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Client application name |
Date: | 2009-10-13 15:13:09 |
Message-ID: | 937d27e10910130813s3b15f83cjf0e4e8cc6e2a71d4@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Oct 13, 2009 at 4:06 PM, Alvaro Herrera
<alvherre(at)commandprompt(dot)com> wrote:
> Dave Page wrote:
>
>> The attached patch is a first quick cut of the basic functionality to
>> do this. Currently, it makes the following changes:
>
> Couple of thoughts,
>
> - should we use argv[0] automatically in libpq unless overridden?
How can I get to it from libpq? I could use getprogname() if present.
> - should we reject funny chars such as \n? (hopefully \0 won't be a
> problem)
Is there any need? I can't see that it would do any harm other than
maybe messing up some query output - and the solution would be 'don't
do that then' :-)
--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2009-10-13 15:20:18 | Re: Client application name |
Previous Message | Andrew Dunstan | 2009-10-13 15:11:29 | Re: Client application name |