File tree Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ feature.
36
36
Both files should have same base name and one — extension .test and
37
37
other .sql
38
38
39
- 1. Script with .sql extension contains usial create commands which would
39
+ 1. Script with .sql extension contains usual create commands which would
40
40
create neccessary database object(s).
41
41
42
42
2. Script with .text extension should contain single select query,
Original file line number Diff line number Diff line change @@ -52,5 +52,3 @@ for i in "$DIR"/*.test; do
52
52
done
53
53
fi
54
54
done
55
-
56
-
Original file line number Diff line number Diff line change 1
- CREATE FUNCTION pgpro_version () RETURNS TEXT AS ' pgpro_version' LANGUAGE internal STRICT IMMUTABLE;
1
+ CREATE FUNCTION pg_catalog . pgpro_version() RETURNS TEXT AS ' pgpro_version' LANGUAGE internal STRICT IMMUTABLE;
Original file line number Diff line number Diff line change 1
- select count (*) > 0 as pgpro_version from pg_proc where proname = 'pgpro_version';
1
+ SELECT COUNT (*) > 0 AS pgpro_version FROM pg_proc WHERE proname = 'pgpro_version' AND pronamespace = 11 ;
You can’t perform that action at this time.
0 commit comments