Remove obsolete SAMESIGN macro

From: Richard Guo <guofenglinux(at)gmail(dot)com>
To: Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Remove obsolete SAMESIGN macro
Date: 2026-02-19 08:40:08
Message-ID: CAMbWs4-NL3J3hQ3LzrwV-YUkQC18P+jM7ZiegQyAHzgdZev2qg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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. Any objections to removing these
definitions to clean things up?

- Richard

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ashutosh Bapat 2026-02-19 08:48:22 Re: some validate_relation_kind() tidying
Previous Message Peter Eisentraut 2026-02-19 08:31:45 Re: Make copyObject work in C++