discourse/lib/backup_restore
Guo Xiang Tan a89f3160a5 Add new config to ensure backup/restore connects to PG directly.
* In `pg_dump` 10.3+ and 9.5.12+, in
  it does a `SELECT pg_catalog.set_config('search_path', '', false)`
  which changes the state of the current connection. This is known
  to be problematic with Pgbouncer which reuses connections. As such,
  we'll always try to connect directly to PG directly during
  the backup/restore process.
2018-03-09 10:28:03 +08:00
..
backup_restore.rb Add new config to ensure backup/restore connects to PG directly. 2018-03-09 10:28:03 +08:00
backuper.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
restorer.rb single quote password in restore command 2018-03-01 12:08:35 -08:00