Initialize variable to placate compiler.
Nathan Bossart <nathan@postgresql.org>
Initialize variable to placate compiler. Since commit 5883ff30b0, some compilers have been warning that the rtekind variable in unique_nonjoin_rtekind() may be used uninitialized. There doesn't appear to be any actual risk, so let's just initialize it to something to silence the compiler warnings. Author: Sami Imseih <samimseih@gmail.com> Discussion: https://postgr.es/m/CAA5RZ0sieVNfniCKMDdDjuXGd1OuzMQfTS5%3D9vX3sa-iiujKUA%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_plan_advice/pgpa_scan.c | modified | +1 −1 |
Discussion
- pg_plan_advice: rtekind uninitialized compilation waning 4 messages · 2026-03-12 → 2026-04-10