diff --git a/src/pg/sql/41_observatory_augmentation.sql b/src/pg/sql/41_observatory_augmentation.sql index d6c5f11..e18e574 100644 --- a/src/pg/sql/41_observatory_augmentation.sql +++ b/src/pg/sql/41_observatory_augmentation.sql @@ -605,7 +605,7 @@ BEGIN IF geom_table_name IS NULL THEN RAISE NOTICE 'Point % is outside of the data region', ST_AsText(geom); - RETURNS QUERY SELECT '{}'::text[], '{}'::text[]; + RETURN QUERY SELECT '{}'::text[], '{}'::text[]; END IF; data_table_info := OBS_GetColumnData(geometry_level,