Skip to content

Commit 3a0ccc0

Browse files
author
Alexander Korotkov
committed
Fix migration for pgpro_version(): use pg_catalog schema.
1 parent 7f16b98 commit 3a0ccc0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy