pgsql: Have table_insert and siblings use an unsigned type for options - Mailing list pgsql-committers

From Álvaro Herrera
Subject pgsql: Have table_insert and siblings use an unsigned type for options
Date
Msg-id E1w7BLb-00297x-2w@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1bd6f22f43ac1bd2215ba4ef720fc4f18fea26e5

Modified Files
--------------
src/backend/access/heap/heapam.c         |  8 ++++----
src/backend/access/heap/heapam_handler.c |  4 ++--
src/include/access/heapam.h              |  4 ++--
src/include/access/tableam.h             | 21 ++++++++++++---------
4 files changed, 20 insertions(+), 17 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: headerscheck: Avoid mutual inclusion of pg_config.h and c.h
Next
From: Melanie Plageman
Date:
Subject: pgsql: Make it cheap to check if a relation is modified by a query