Re: querying the version of libpq
От | Magnus Hagander |
---|---|
Тема | Re: querying the version of libpq |
Дата | |
Msg-id | AANLkTim-xsim6CVVxsS5kvWa3kffF1UTx0=tvc3P=ROF@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: querying the version of libpq ("Greg Sabino Mullane" <greg@turnstep.com>) |
Ответы |
Re: querying the version of libpq
|
Список | pgsql-general |
On Tue, Oct 5, 2010 at 22:39, Greg Sabino Mullane <greg@turnstep.com> wrote: > > >> The real problem is that neither of these can be trusted to tell you the >> *library* version. PQserverVersion() is something else altogether, >> and I wouldn't want to assume that pg_config exactly matches the library >> you're linked to --- if it's even present at all. > > Er...yes it will match exact...because we[1] get the location of the > library files from pg_config as well. :) Handy little utility that. How do you get pg_config to tell you which of the multiple versions of libpq that may be installed on the machine you are actually linking against? -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/
В списке pgsql-general по дате отправления: