Re: Application name patch - v2

From: Dave Page <dpage(at)pgadmin(dot)org>
To: "Massa, Harald Armin" <chef(at)ghum(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Application name patch - v2
Date: 2009-10-19 14:44:58
Message-ID: 937d27e10910190744p19ec56dw15073646183e90e0@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Oct 19, 2009 at 3:42 PM, Massa, Harald Armin <chef(at)ghum(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-10-19 14:49:13 Re: Application name patch - v2
Previous Message Massa, Harald Armin 2009-10-19 14:42:57 Re: Application name patch - v2