Re: Client application name

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Client application name
Дата
Msg-id 200910131849.14248.andres@anarazel.de
обсуждение исходный текст
Ответ на Re: Client application name  ("Massa, Harald Armin" <chef@ghum.de>)
Список 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 по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: Wire protocol docs
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Client application name