Fix uninitialized slot array access during the upgrade.
Amit Kapila <akapila@postgresql.org>
Fix uninitialized slot array access during the upgrade. Commit 29d0a77fa introduced fetching slot information from the old cluster but didn't initialize the required array in all the code paths. So when trying to access the array in verbose mode for the new cluster, it leads to an uninitialized memory access. Author: Vignesh C Discussion: http://postgr.es/m/CALDaNm1tntGP5=CtMz=v+k3_PGv7kE9t6iWSgX-QiurAaFkhZw@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_upgrade/info.c | modified | +2 −6 |
Discussion
- [PoC] pg_upgrade: allow to upgrade publisher node 407 messages · 2023-04-04 → 2023-12-18