Revert "Change copyObject() to use typeof_unqual"

Peter Eisentraut <peter@eisentraut.org>

Commit: 0af05b5dbb42387957582e76232dc27138382e5a
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2026-02-07T09:08:38Z
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.green@gmail.com>
Discussion: https://www.postgresql.org/message-id/b03ddcd4-2a16-49ee-b105-e7f609f3c514%40gmail.com

Files

PathChange+/−
config/c-compiler.m4 modified +0 −25
configure modified +0 −42
configure.ac modified +0 −1
meson.build modified +0 −24
src/include/nodes/nodes.h modified +2 −2
src/include/pg_config.h.in modified +0 −7

Discussion