major, minor and micro version

From: Andreas 'ads' Scherbaum <adsmail(at)wars-nicht(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Subject: major, minor and micro version
Date: 2005-06-21 22:36:23
Message-ID: 20050622003623.1df1ee7f.adsmail@wars-nicht.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Hello,

is it possible to get the PG version splitted up into major, minor and
micro version in the future?
For now, only PG_VERSION is defined (at least, what i can see) and it is
not possible to use PG_VERSION at compile time to determine the actual
PG version.

Example:

In a module i want to use some of the new features from 8.0, but if the
user is compiling the module in a 7.x source tree, the old (but slower)
functions must be used (SPI_exec versus SPI_execute).

kind regards

--
Andreas 'ads' Scherbaum
Failure is not an option. It comes bundled with your Microsoft product.
(Ferenc Mantfeld)

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Sabino Mullane 2005-06-21 22:42:25 Re: Schedule for 8.1 feature freeze
Previous Message Jim C. Nasby 2005-06-21 22:28:17 Re: Strange logic for partial index proving