Re: version dependent compilation - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: version dependent compilation
Date
Msg-id 20051006124934.GG5373@surnet.cl
Whole thread Raw
In response to version dependent compilation  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgsql-hackers
On Thu, Oct 06, 2005 at 10:50:29AM +0000, Andreas Pflug wrote:
> 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).

Hmm.  People have reported using CATALOG_VERSION_NO for this purpose,
but evidently it's not enough in this case, because that symbol wasn't
changed between 8.0.3 and 8.0.4.  So there's a case for real version
symbols, apparently.

-- 
Alvaro Herrera       Valdivia, Chile   ICBM: S 39º 49' 17.7", W 73º 14' 26.8"
"Uno combate cuando es necesario... ¡no cuando está de humor!
El humor es para el ganado, o para hacer el amor, o para tocar el
baliset.  No para combatir."  (Gurney Halleck)


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: version dependent compilation
Next
From: "Dave Page"
Date:
Subject: Re: version dependent compilation