From f07676a376759b2ba1043b5ec37305e9bc04a240 Mon Sep 17 00:00:00 2001 From: James Addison Date: Wed, 28 Jan 2026 01:27:53 +0000 Subject: [PATCH] Fixup: add single-quote escaping within debug message --- lib-sql/functions/placex_triggers.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib-sql/functions/placex_triggers.sql b/lib-sql/functions/placex_triggers.sql index 32c0f187..244fe90c 100644 --- a/lib-sql/functions/placex_triggers.sql +++ b/lib-sql/functions/placex_triggers.sql @@ -1240,7 +1240,7 @@ BEGIN LIMIT 1 LOOP IF location.osm_id = NEW.osm_id THEN - {% if debug %}RAISE WARNING 'Updating names for country '%' with: %', NEW.country_code, NEW.name;{% endif %} + {% if debug %}RAISE WARNING 'Updating names for country ''%'' with: %', NEW.country_code, NEW.name;{% endif %} UPDATE country_name SET derived_name = NEW.name WHERE country_code = NEW.country_code; END IF; END LOOP;