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

From Dave Page
Subject Re: Application name patch - v2
Date
Msg-id 937d27e10910190744p19ec56dw15073646183e90e0@mail.gmail.com
Whole thread Raw
In response to Re: Application name patch - v2  ("Massa, Harald Armin" <chef@ghum.de>)
Responses Re: Application name patch - v2
List pgsql-hackers
On Mon, Oct 19, 2009 at 3:42 PM, Massa, Harald Armin <chef@ghum.de> wrote:
>
> Would'nt this also make sense for PostgreSQL? That is, when no environment
> is set, and no SET-command is issued, that the application name becomes the
> default?

That needs to be set by the application. As discussed previously,
there's no way for libpq to get at argv[0].


-- 
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: "Massa, Harald Armin"
Date:
Subject: Re: Application name patch - v2
Next
From: Tom Lane
Date:
Subject: Re: Application name patch - v2