| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Kynn Jones <kynnjo(at)gmail(dot)com> |
| Cc: | pgsql-general General <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Which header and lib files to use when compiling libpq-code? |
| Date: | 2009-04-27 16:38:06 |
| Message-ID: | 6102.1240850286@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Kynn Jones <kynnjo(at)gmail(dot)com> writes:
> On Mon, Apr 27, 2009 at 11:10 AM, Martijn van Oosterhout
> <kleptog(at)svana(dot)org>wrote:
>> In general you don't need to match the server version, the protocol
>> hasn't changed much in a while so as long as it's less than a few years
>> old it'll work.
> This statement contradicts the experience I described in my original post:
> the choice of header and/or library files is absolutely critical. The wrong
> choice lead to very bizarre connection failures.
What that probably means is you picked a header file that didn't match
the libpq.so shared library version. Martijn's statement that libpq
is insensitive to the *server* version is generally correct.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Martijn van Oosterhout | 2009-04-27 16:42:56 | Re: Which header and lib files to use when compiling libpq-code? |
| Previous Message | Tom Lane | 2009-04-27 16:29:41 | Re: find column OID types with information schema? |