aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_utilcmd.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2011-04-19 21:00:29 -0400
committerBruce Momjian <bruce@momjian.us>2011-04-19 21:00:29 -0400
commit7228d02989afd3858ce6eb4de845c56f4c0188a6 (patch)
tree5d426003d718469270cba5877ddc40740cdd7fee /src/backend/parser/parse_utilcmd.c
parent034194470647b3de206fb42464d49a438853fa5e (diff)
downloadpostgresql-7228d02989afd3858ce6eb4de845c56f4c0188a6.tar.gz
postgresql-7228d02989afd3858ce6eb4de845c56f4c0188a6.zip
Throw error for mismatched pg_upgrade clusters
If someone removes the 'postgres' database from the old cluster and the new cluster has a 'postgres' database, the number of databases will not match. We actually could upgrade such a setup, but it would violate the 1-to-1 mapping of database counts, so we throw an error instead. Previously they got an error during the upgrade, and not at the check stage; PG 9.0.4 does the same.
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions