Have table_insert and siblings use an unsigned type for options
Álvaro Herrera <alvherre@kurilemu.de>
Have table_insert and siblings use an unsigned type for options Using signed types can lead to bugs, such as the one fixed by commit 2a2e1b470b9b. Discussion: https://postgr.es/m/44e6ze3kuunhky63wmfjxrmn72pds2whwf5ok6hpz7c4my7k2h@l65zhpcuasnf
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/heap/heapam.c | modified | +4 −4 |
| src/backend/access/heap/heapam_handler.c | modified | +2 −2 |
| src/include/access/heapam.h | modified | +2 −2 |
| src/include/access/tableam.h | modified | +12 −9 |
Discussion
- table AM option passing 17 messages · 2026-03-17 → 2026-04-02