Skip to content

Commit 72b4f2a

Browse files
committed
Merge branch 'PGPRO9_5' of gitlab.postgrespro.ru:pgpro-dev/postgrespro into PGPRO9_5
2 parents 1892563 + 3a0ccc0 commit 72b4f2a

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

src/pgpro-upgrade/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ feature.
3636
Both files should have same base name and one — extension .test and
3737
other .sql
3838

39-
1. Script with .sql extension contains usial create commands which would
39+
1. Script with .sql extension contains usual create commands which would
4040
create neccessary database object(s).
4141

4242
2. Script with .text extension should contain single select query,

src/pgpro-upgrade/pgpro_upgrade

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,3 @@ for i in "$DIR"/*.test; do
5252
done
5353
fi
5454
done
55-
56-

src/pgpro-upgrade/pgpro_version.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
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;

src/pgpro-upgrade/pgpro_version.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
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;

0 commit comments

Comments
 (0)