Daniel-Constantin Mierla writes:
The solution is to add a dedicated column for partition index. I already implemented it in a separate branch, named tmp/usrloc-partion. The new code is rather small, because is only about inserting into database, the value is not used when having records in memory, therefore not needed to be loaded back in memory or updated. But it changes the database structure, by adding a new column to location table.
how is this new column going to gets its value when location table db structure is upgraded?
-- juha