Re: version dependent compilation

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Subject: Re: version dependent compilation
Date: 2005-10-06 12:49:34
Message-ID: 20051006124934.GG5373@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2005-10-06 12:53:56 Re: version dependent compilation
Previous Message Peter Eisentraut 2005-10-06 12:46:53 Re: version dependent compilation