pgsql: Revert "Change copyObject() to use typeof_unqual"

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Revert "Change copyObject() to use typeof_unqual"
Date: 2026-02-07 09:16:30
Message-ID: E1voeQY-001eL3-13@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Revert "Change copyObject() to use typeof_unqual"

This reverts commit 4cfce4e62c8f09f5b1f6a7f69760ca46a74406e2.

This implementation fails to compile on newer MSVC that support
__typeof_unqual__. (Older versions did not support it and compiled
fine.) Revert for now and research further.

Reported-by: Bryan Green <dbryan(dot)green(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/b03ddcd4-2a16-49ee-b105-e7f609f3c514%40gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0af05b5dbb42387957582e76232dc27138382e5a

Modified Files
--------------
config/c-compiler.m4 | 25 -------------------------
configure | 42 ------------------------------------------
configure.ac | 1 -
meson.build | 24 ------------------------
src/include/nodes/nodes.h | 4 ++--
src/include/pg_config.h.in | 7 -------
6 files changed, 2 insertions(+), 101 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message John Naylor 2026-02-07 10:07:18 pgsql: Future-proof sort template against undefined behavior
Previous Message Tom Lane 2026-02-07 01:46:10 pgsql: Make some minor cleanups in typalign-related code.