qgis/Quantum-GIS — pull request #497 by matthias-kuhn (2013-04-02 16:15:03+00:00)
Title: Adding alternative file path for postgres 9.2 to cmake

For current versions of postgresql in Fedora, postgres has its own repository: http://yum.postgresql.org/

Installation of the files goes into /usr/pgsql-[0-9.]+/bin what is not covered. Would love to do this with a regex, but this seems not to be supported by cmake FIND_PROGRAM. The workaround is adding known path's incrementally... That's what this patch does for version 9.2.