From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Jan Wieck <JanWieck(at)Yahoo(dot)com> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Client side copy functionality |
Date: | 2004-03-03 16:14:54 |
Message-ID: | 13665.1078330494@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Jan Wieck <JanWieck(at)Yahoo(dot)com> writes:
> with the since 7.4 deprecated copy support functions in libpq, is there
> any define or other way to figure out if compiling against a pre-7.4 or
> post-7.4 libpq?
Hm, don't think so. If you've autoconfiscated your client code, you can
just put in a configure test for one of the newer libpq functions.
[ sounds of diff'ing ... ] If you're desperate for an #ifdef solution,
it looks like you could test for the existence of one of the PG_DIAG_XXX
macros added to postgres_ext.h. This seems a bit circuitous though.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Stark | 2004-03-03 16:35:40 | Re: Tablespaces |
Previous Message | Jan Wieck | 2004-03-03 16:00:37 | Client side copy functionality |