From e5cc9ef0bde2ece0ae953f5fd473fcf805c6f8f8 Mon Sep 17 00:00:00 2001 From: Javier Goizueta Date: Wed, 16 Dec 2015 17:26:17 +0100 Subject: [PATCH] Fix: typo --- scripts-available/CDB_Overviews.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts-available/CDB_Overviews.sql b/scripts-available/CDB_Overviews.sql index bf16771..d35e5b1 100644 --- a/scripts-available/CDB_Overviews.sql +++ b/scripts-available/CDB_Overviews.sql @@ -95,7 +95,7 @@ AS $$ suffix TEXT; is_overview BOOLEAN; BEGIN - suffix := Format('_ov%', ref_z); + suffix := Format('_ov%s', ref_z); SELECT ref::text LIKE Format('%%%s', suffix) INTO is_overview; IF is_overview THEN SELECT substring(ref::text FROM 1 FOR length(ref::text)-length(suffix)) INTO base;