forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit347758b
committed
pg_upgrade: run all data type checks per connection
The checks for data type usage were each connecting to all databasesin the cluster and running their query. On clusters which have a lotof databases this can become unnecessarily expensive. This moves thechecks to run in a single connection instead to minimize setup andteardown overhead.Reviewed-by: Nathan Bossart <nathandbossart@gmail.com>Reviewed-by: Justin Pryzby <pryzby@telsasoft.com>Reviewed-by: Peter Eisentraut <peter@eisentraut.org>Discussion:https://postgr.es/m/BB4C76F-D416-4F9F-949E-DBE950D37787@yesql.se1 parent5577a71 commit347758b
3 files changed
+506
-521
lines changed0 commit comments
Comments
(0)