Detecting Postgres version during build

Tom Hughes tom at compton.nu
Wed Mar 7 10:32:45 UTC 2012


On 07/03/12 10:22, Gianluca Sforna wrote:

> I am not sure this is going to work (at least in the present case):
> the package includes some SQL code along with a shared object that
> pgsql server runs to provide the chemical functions. AFAICT setting
> this up is completely server side (see
> http://code.google.com/p/rdkit/wiki/BuildingTheCartridge for details)
> and unless we have both 8.x and 9.x in any EL or Fedora branch you
> just want to pick and install the one that is provided by the package.

It might be worth looking at how something like the postgis package 
handles this, as it also contains a Postgres extension.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://compton.nu/


More information about the devel mailing list