Currently tagbase_materialized_views.sql can only be executed manually. I hadn't tried this for a while and noticed that the PostgreSQL Query Tool will throw an exception when I attempt to execute the script. Here is an example
ERROR: operator does not exist: character varying > integer
LINE 17: CASE WHEN data_position.lon > 180 THEN data_position.lon...
^
HINT: No operator matches the given name and argument types. You might need to add explicit type casts.
SQL state: 42883
Character: 518
Currently tagbase_materialized_views.sql can only be executed manually. I hadn't tried this for a while and noticed that the PostgreSQL Query Tool will throw an exception when I attempt to execute the script. Here is an example
We need to cast the char var to integer.