]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Have table_insert and siblings use an unsigned type for options
authorÁlvaro Herrera <alvherre@kurilemu.de>
Mon, 30 Mar 2026 11:27:04 +0000 (13:27 +0200)
committerÁlvaro Herrera <alvherre@kurilemu.de>
Mon, 30 Mar 2026 11:58:16 +0000 (13:58 +0200)
commit1bd6f22f43ac1bd2215ba4ef720fc4f18fea26e5
treefc8c932a3bfda4c8c5c2440e90cf3006c7ea753f
parentc546f008cddf9319ce500321a65eec2329ae6d6a
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
src/backend/access/heap/heapam.c
src/backend/access/heap/heapam_handler.c
src/include/access/heapam.h
src/include/access/tableam.h