Re: Client application name - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Client application name
Date
Msg-id 8451.1255449913@sss.pgh.pa.us
Whole thread Raw
In response to Client application name  (Dave Page <dpage@pgadmin.org>)
Responses Re: Client application name
Re: Client application name
List pgsql-hackers
Dave Page <dpage@pgadmin.org> writes:
> - Is my approach reasonable?
> - What interface should I include in libpq?

I thought the plan was to have libpq look at an environment variable,
compare PGCLIENTENCODING for example.  I'm not convinced psql should be
involved in the logic at all --- if it is, there definitely must be a
way for scripts to override the "psql" value.  In general the place that
is most reasonable to set the value might be several software levels up
from libpq, which is what makes the environment-variable approach
attractive.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: Client application name
Next
From: Tom Lane
Date:
Subject: Re: Client application name