Re: Issue with libpq < 8.4
От | Dave Page |
---|---|
Тема | Re: Issue with libpq < 8.4 |
Дата | |
Msg-id | AANLkTi=5Ww76BpOn-FBNvd0gZixZTdt4Yk=Fdex4DC37@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Issue with libpq < 8.4 (Magnus Hagander <magnus@hagander.net>) |
Ответы |
Re: Issue with libpq < 8.4
|
Список | pgadmin-hackers |
On Tue, Aug 24, 2010 at 12:41 PM, Magnus Hagander <magnus@hagander.net> 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
В списке pgadmin-hackers по дате отправления: