-
- Downloads
Use native Postgres database cleaning during backup restore
We were using hacks to drop tables etc during a Postgres backup restore. With this change, we let pg_dump insert the DROP TABLE statements it needs at the start of the SQL dump.
Showing
- CHANGELOG 1 addition, 0 deletionsCHANGELOG
- lib/backup/database.rb 2 additions, 5 deletionslib/backup/database.rb
- lib/tasks/gitlab/db/drop_all_postgres_sequences.rake 0 additions, 10 deletionslib/tasks/gitlab/db/drop_all_postgres_sequences.rake
- lib/tasks/gitlab/db/drop_all_tables.rake 0 additions, 10 deletionslib/tasks/gitlab/db/drop_all_tables.rake
Please register or sign in to comment