Detecting Postgres version during build

Gianluca Sforna giallu at gmail.com
Tue Mar 6 00:13:24 UTC 2012


I am trying to build a package that provides a Postegres cartridge
compatible with 8.x and 9.x. Unfortunately the cartridge related files
are not installed in the same path for both version so I am looking
for a way to query the version against I'm building and pick the
correct path.

Is there any standard mean for doing what I need?

-- 
Gianluca Sforna

http://morefedora.blogspot.com
http://identi.ca/giallu - http://twitter.com/giallu


More information about the devel mailing list