Fix typo in exception

Sorry, the shell testing framework doesn't make it easy to test it,
@Algunenano
This commit is contained in:
Rafa de la Torre 2019-10-15 17:33:00 +02:00
parent 10997d5e29
commit ebeea3605e

View File

@ -171,7 +171,7 @@ BEGIN
-- Check id_column is numeric
IF NOT @extschema@.__ft_is_numeric(src_table, id_column) THEN
RAISE EXCEPTION 'non integer id_column "%"', id_colun;
RAISE EXCEPTION 'non integer id_column "%"', id_column;
END IF;
-- Check if the geom and mercator columns have a geometry type
@ -268,7 +268,7 @@ BEGIN
-- Check id_column is numeric
IF NOT @extschema@.__ft_is_numeric(src_table, id_column) THEN
RAISE EXCEPTION 'non integer id_column "%"', id_colun;
RAISE EXCEPTION 'non integer id_column "%"', id_column;
END IF;
-- Get a list of columns excluding the id