You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The purpose of this ticket and corresponding PR is the following:
Currently some rows are inserted into system tables by the bootstrapping code. If we ever wanted to change the system tables for existing databases, then we would have to maintain two versions of the bootstrapping code. One for the old database which were initially bootstrapped with the old code and one for the new database which was bootstrapped with the new code. This is complex.
Instead we want to make it so that the only tables which have rows inserted into them on startup is st_table and st_column and that all rows in all other tables are inserted into the commitlog. Thus making it so that migrating a system table is the same as migrating any table. We would old need the old system table code if we wanted to look at the historical state of a system table in an old database.
Food for thought, Postgres creates a template1 database and then clones it to create all other new databases.
The text was updated successfully, but these errors were encountered:
The purpose of this ticket and corresponding PR is the following:
Currently some rows are inserted into system tables by the bootstrapping code. If we ever wanted to change the system tables for existing databases, then we would have to maintain two versions of the bootstrapping code. One for the old database which were initially bootstrapped with the old code and one for the new database which was bootstrapped with the new code. This is complex.
Instead we want to make it so that the only tables which have rows inserted into them on startup is
st_table
andst_column
and that all rows in all other tables are inserted into the commitlog. Thus making it so that migrating a system table is the same as migrating any table. We would old need the old system table code if we wanted to look at the historical state of a system table in an old database.Food for thought, Postgres creates a
template1
database and then clones it to create all other new databases.The text was updated successfully, but these errors were encountered: