From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Libpq PGRES_COPY_BOTH - version compatibility |
Date: | 2010-12-29 14:58:17 |
Message-ID: | AANLkTi=cD__22DuhnqY9u9m52uyqtrdw__kYP11d0pUm@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Dec 28, 2010 at 16:15, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Magnus Hagander <magnus(at)hagander(dot)net> writes:
>> On Tue, Dec 28, 2010 at 13:18, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>>> Adding a #define to our headers that you can test for seems like the way to go.
>
>> That's kind of what I was going for ;)
>
> I don't see the point. You're going to need a *run time* test on
> PQserverVersion to figure out what the server will return, no?
I need *both*.
> Also, if you really do need to figure out which PG headers you're
> compiling against, looking at catversion.h is the accepted way to do it.
> There's no need for yet another symbol.
This file is, AFAIK, not included with client installs? It's
definitely not present in the libpq-dev package on debian. It's a
backend development file, no?
--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/
From | Date | Subject | |
---|---|---|---|
Next Message | Li Jie | 2010-12-29 14:59:16 | Re: small table left outer join big table |
Previous Message | Li Jie | 2010-12-29 14:45:00 | Re: small table left outer join big table |