fix bug with table alias
This commit is contained in:
parent
b2b34bfe05
commit
d1c2598167
@ -79,7 +79,7 @@ BEGIN
|
|||||||
RETURN QUERY
|
RETURN QUERY
|
||||||
EXECUTE '
|
EXECUTE '
|
||||||
WITH geomref AS (
|
WITH geomref AS (
|
||||||
SELECT t.table_id id
|
SELECT ct.table_id id
|
||||||
FROM observatory.OBS_column_to_column c2c,
|
FROM observatory.OBS_column_to_column c2c,
|
||||||
observatory.OBS_column_table ct
|
observatory.OBS_column_table ct
|
||||||
WHERE c2c.reltype = ''geom_ref''
|
WHERE c2c.reltype = ''geom_ref''
|
||||||
|
Loading…
Reference in New Issue
Block a user