Re: [GENERAL] Which header and lib files to use when compiling libpq-code?

2009-04-27 Thread Martijn van Oosterhout
On Mon, Apr 27, 2009 at 12:27:37PM -0400, Kynn Jones wrote: > On Mon, Apr 27, 2009 at 11:10 AM, Martijn van Oosterhout > 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. >

Re: [GENERAL] Which header and lib files to use when compiling libpq-code?

2009-04-27 Thread Tom Lane
Kynn Jones writes: > On Mon, Apr 27, 2009 at 11:10 AM, Martijn van Oosterhout > 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

Re: [GENERAL] Which header and lib files to use when compiling libpq-code?

2009-04-27 Thread Kynn Jones
On Mon, Apr 27, 2009 at 11:10 AM, Martijn van Oosterhout wrote: > On Mon, Apr 27, 2009 at 10:51:45AM -0400, Kynn Jones wrote: > > I need to compile some code that uses libpq. For this I need to > determine > > the directories to use for the header and library files. > > > > The machine I'm using

Re: [GENERAL] Which header and lib files to use when compiling libpq-code?

2009-04-27 Thread Martijn van Oosterhout
On Mon, Apr 27, 2009 at 10:51:45AM -0400, Kynn Jones wrote: > I need to compile some code that uses libpq. For this I need to determine > the directories to use for the header and library files. > > The machine I'm using has multiple copies of the files libpq-fe.h and > libpq.a. How can I determ

[GENERAL] Which header and lib files to use when compiling libpq-code?

2009-04-27 Thread Kynn Jones
I need to compile some code that uses libpq. For this I need to determine the directories to use for the header and library files. The machine I'm using has multiple copies of the files libpq-fe.h and libpq.a. How can I determine which one of all these copies are the ones that correspond to the