by kraada » Fri Jun 04, 2010 9:15 am
Oops, those last four lines should all have said lookup_positions not lookup_position. I've edited the original post - if you re-run those lines they should work now.
You only need to do this in PT3 databases. The PostgreSQL default databases (postgres, template0, template1) won't have these tables and the queries won't work there and that's fine. If you use multiple databases you do need to do it for each database you have and then rebuild the cache on all of them if you want the data aggregation to be changed for all databases.