Fix: typo
This commit is contained in:
@@ -95,7 +95,7 @@ AS $$
|
|||||||
suffix TEXT;
|
suffix TEXT;
|
||||||
is_overview BOOLEAN;
|
is_overview BOOLEAN;
|
||||||
BEGIN
|
BEGIN
|
||||||
suffix := Format('_ov%', ref_z);
|
suffix := Format('_ov%s', ref_z);
|
||||||
SELECT ref::text LIKE Format('%%%s', suffix) INTO is_overview;
|
SELECT ref::text LIKE Format('%%%s', suffix) INTO is_overview;
|
||||||
IF is_overview THEN
|
IF is_overview THEN
|
||||||
SELECT substring(ref::text FROM 1 FOR length(ref::text)-length(suffix)) INTO base;
|
SELECT substring(ref::text FROM 1 FOR length(ref::text)-length(suffix)) INTO base;
|
||||||
|
|||||||
Reference in New Issue
Block a user