Re: Client application name - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Client application name
Date
Msg-id 200910131849.14248.andres@anarazel.de
Whole thread Raw
In response to Re: Client application name  ("Massa, Harald Armin" <chef@ghum.de>)
List pgsql-hackers
On Tuesday 13 October 2009 18:30:54 Massa, Harald Armin wrote:
> >I can have libpq look at the environment as it does for
> >PGCLIENTENCODING, but I'd certainly like to be able to use the
> >connection string as well, as environment variables are not really the

> another challenge with the Environment variable: they are (at least on
> windows) usually set for one logged on user.

> And ususally I have pg_admin, python for development, psql and my
> application all connected to the same PostgreSQL server.

> I would love to see 4 different application names, and not the value of one
> environment-variable. that argv[0] that was somewhere in this thread looked
> nice :)
Well, those applications could set it themselves...

Andres


pgsql-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: Wire protocol docs
Next
From: Robert Haas
Date:
Subject: Re: Client application name