fix wrong quoting
This commit is contained in:
@@ -471,10 +471,10 @@ BEGIN
|
||||
EXECUTE format(
|
||||
'WITH _overlaps AS (
|
||||
SELECT ST_Area(
|
||||
ST_Intersection(%I, a.%I)
|
||||
ST_Intersection(%L, a.%I)
|
||||
) / ST_Area(a.%I) AS overlap_fraction, %I geomref
|
||||
FROM observatory.%I as a
|
||||
WHERE %I && a.%I,
|
||||
WHERE %L && a.%I,
|
||||
SELECT %I category
|
||||
FROM observatory.%I data
|
||||
WHERE data.%I = geomref
|
||||
|
||||
Reference in New Issue
Block a user