Re: version dependent compilation - Mailing list pgsql-hackers

From Dave Page
Subject Re: version dependent compilation
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC3220@ratbert.vale-housing.co.uk
Whole thread Raw
In response to version dependent compilation  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgsql-hackers

> -----Original Message-----
> From: Peter Eisentraut [mailto:peter_e@gmx.net]
> Sent: 06 October 2005 13:47
> To: Andreas Pflug
> Cc: pgsql-hackers@postgresql.org; Dave Page
> Subject: Re: [HACKERS] version dependent compilation
>
> Am Donnerstag, 6. Oktober 2005 12:50 schrieb Andreas Pflug:
> > Apparently, there's currently no way to perform conditional
> compiling
> > dependent on the version of pgsql. Currently we're facing
> the problem
> > that ParseDateTime changed its parameters between 8.0.3 and 8.0.4,
> > breaking backward compatibility (for good reasons in this case).
>
> You should write an autoconf test to detect this.

This is for a contrib-style module that uses pgxs.

Regards, Dave


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: version dependent compilation
Next
From: Tom Lane
Date:
Subject: Re: fixing LISTEN/NOTIFY