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

From Dave Page
Subject Re: Application name patch - v2
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: Application name patch - v2  ("Massa, Harald Armin" <[email protected]>)
Responses Re: Application name patch - v2
List pgsql-hackers
On Mon, Oct 19, 2009 at 3:42 PM, Massa, Harald Armin <[email protected]> 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