Remove obsolete SAMESIGN macro

Richard Guo <rguo@postgresql.org>

Commit: ce1c17a3163fa5adaa7c6af90bb1b0164cc7a28f
Author: Richard Guo <rguo@postgresql.org>
Date: 2026-03-04T01:56:06Z
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@gmail.com>
Discussion: https://postgr.es/m/CAMbWs4-NL3J3hQ3LzrwV-YUkQC18P+jM7ZiegQyAHzgdZev2qg@mail.gmail.com

Files

Discussion