Re: version dependent compilation - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: version dependent compilation
Date
Msg-id 200510061446.54306.peter_e@gmx.net
Whole thread Raw
In response to version dependent compilation  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgsql-hackers
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.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

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