cfrankl/pgtap — pull request #1 by cfrankl (2014-04-18 23:15:10+00:00)
Title: Created PL/pgSQL function that checks the Postgres version

Created PL/pgSQL function that checks the Postgres version. If it's 9.3 or higher, the function create the materialized views and run the tests.
Otherwise, it mock those tests with a regular view calling *view* functions instead of *materialized_view*.