Detecting Postgres version during build

Tom Lane tgl at
Wed Mar 7 14:53:47 UTC 2012

Well, what you need to build against is Postgres 9.1.x, because that is
what is in current Fedora releases.  I think you should just do -DPG91
and be done with it.  You could BuildRequire postgresql-devel >= 9.1.0
if that makes you feel better.

			regards, tom lane

More information about the devel mailing list