pg_upgrade: Check version of target cluster binaries
Peter Eisentraut <peter@eisentraut.org>
pg_upgrade: Check version of target cluster binaries This expands the binary validation in pg_upgrade with a version check per binary to ensure that the target cluster installation only contains binaries from the target version. In order to reduce duplication, validate_exec is exported from port.h and the local copy in pg_upgrade is removed. Author: Daniel Gustafsson <daniel@yesql.se> Discussion: https://www.postgresql.org/message-id/flat/9328.1552952117@sss.pgh.pa.us
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_upgrade/exec.c | modified | +36 −52 |
| src/common/exec.c | modified | +1 −2 |
| src/include/port.h | modified | +1 −0 |
Discussion
- pg_upgrade version checking questions 25 messages · 2019-03-18 → 2021-03-03