On Tue, Aug 24, 2010 at 12:41 PM, Magnus Hagander <[email protected]> wrote:
> So can't we do something like:
>
> #ifdef HAVE_CONNINFO_PARSE
> if (conninfoparse_shows_we_have_application_name_support)
>   use connstr_with_appname;
> else
>   use connstr_without_appname;
> #else
>   use connstr_without_appname
> #endif
>
> ? That way it should still work with older libpq, just not set
> application_name...

That would probably work. We should probably have a runtime check for
Windows, as we do for the EDB libpq functions.

When can I expect the patch?

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise Postgres Company

-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

Reply via email to