Re: Change copyObject() to use typeof_unqual

From: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: Daniel Gustafsson <daniel(at)yesql(dot)se>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Change copyObject() to use typeof_unqual
Date: 2026-03-13 16:15:12
Message-ID: CAGECzQR-t-Zq6p3KAkohfWcOMGoaqNUqAGj9WC3PxA_zynqEVw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 13 Mar 2026 at 17:00, Peter Eisentraut <peter(at)eisentraut(dot)org> wrote:
> that remove_reference_t is actually in C++14, which might explain this
> failure, if the compiler is in C++11 mode.

Yeah that's almost certainly it... Sorry about that.

> I don't understand the difference between remove_reference and
> remove_reference_t.

They are equivalent only the _t version as a bit less verbose.
Attached should fix it.

Attachment Content-Type Size
fix.patch text/x-patch 422 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2026-03-13 16:16:49 Re: Speed up COPY FROM text/CSV parsing using SIMD
Previous Message Nazir Bilal Yavuz 2026-03-13 16:14:06 Re: Speed up COPY FROM text/CSV parsing using SIMD