fix geoid hardcode

This commit is contained in:
John Krauss 2016-05-11 14:58:19 -04:00
parent ec1c2f8dfb
commit 56f4d2f256

View File

@ -284,10 +284,11 @@ BEGIN
query := query || format(' ]::numeric[]
FROM observatory.%I
WHERE %I.geoid = %L
WHERE %I.%I = %L
',
((data_table_info)[1])->>'tablename',
((data_table_info)[1])->>'tablename',
geoid_colname,
geoid
);