Properly regenerate orafunc.sql(.in) so 8.4/9.0 tests work
Christoph Berg
10 years ago
4 | 4 | |
5 | 5 | set -e |
6 | 6 | for v in $(pg_buildext supported-versions); do |
7 | case $v in | |
8 | # older versions fail on concat, ignore that | |
9 | # ERROR: function concat(unknown, unknown) does not exist | |
10 | 8*|9.0) FAIL="true" ;; | |
11 | *) FAIL="false" ;; | |
12 | esac | |
13 | rm -f orafunc.sql | |
7 | rm -f orafunc.sql.in orafunc.sql | |
14 | 8 | make orafunc.sql PG_CONFIG=/usr/lib/postgresql/$v/bin/pg_config |
15 | pg_buildext installcheck-$v || $FAIL | |
9 | pg_buildext installcheck-$v | |
16 | 10 | done |