| From: | Richard Guo <rguo(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Remove obsolete SAMESIGN macro |
| Date: | 2026-03-04 01:59:30 |
| Message-ID: | E1vxbWM-002GvF-1w@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Remove obsolete SAMESIGN macro
The SAMESIGN macro was historically used as a helper for manual
integer overflow checks. However, since commit 4d6ad3125 introduced
overflow-aware integer operations, this manual sign-checking logic is
no longer necessary.
The macro remains defined in brin_minmax_multi.c and timestamp.c, but
is not used in either file. This patch removes these definitions to
clean things up.
Author: Richard Guo <guofenglinux(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAMbWs4-NL3J3hQ3LzrwV-YUkQC18P+jM7ZiegQyAHzgdZev2qg@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/ce1c17a3163fa5adaa7c6af90bb1b0164cc7a28f
Modified Files
--------------
src/backend/access/brin/brin_minmax_multi.c | 2 --
src/backend/utils/adt/timestamp.c | 2 --
2 files changed, 4 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2026-03-04 04:06:18 | pgsql: Change default value of default_toast_compression to "lz4", when |
| Previous Message | Michael Paquier | 2026-03-04 01:11:51 | pgsql: Add some tests for CREATE OR REPLACE VIEW with column additions |