Content-Length: 237385 | pFad | https://github.com/postgrespro/postgres/commit/347758b1206364e3bec5ad6cd649b4ba9fe1be7b

42 pg_upgrade: run all data type checks per connection · postgrespro/postgres@347758b · GitHub
Skip to content

Commit 347758b

Browse files
pg_upgrade: run all data type checks per connection
The checks for data type usage were each connecting to all databases in the cluster and running their query. On clusters which have a lot of databases this can become unnecessarily expensive. This moves the checks to run in a single connection instead to minimize setup and teardown 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.se
1 parent 5577a71 commit 347758b

File tree

3 files changed

+506
-521
lines changed

3 files changed

+506
-521
lines changed

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/postgrespro/postgres/commit/347758b1206364e3bec5ad6cd649b4ba9fe1be7b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy