public inbox for [email protected]
help / color / mirror / Atom feedFrom: Ayush Tiwari <[email protected]>
To: Fujii Masao <[email protected]>
Cc: [email protected]
Subject: Re: Document COPY FROM WHERE restrictions on generated and system columns
Date: Thu, 2 Jul 2026 18:46:41 +0530
Message-ID: <CAJTYsWXij=ZzKDqVMTyGR7=Suf5CJfezBYHyf7+2GWk_CPpUVw@mail.gmail.com> (raw)
In-Reply-To: <CAHGQGwEgxErc54yVOAVWCsr1O=8pgw4oKRPuEQ9mfhkoYGR_XA@mail.gmail.com>
References: <CAHGQGwEgxErc54yVOAVWCsr1O=8pgw4oKRPuEQ9mfhkoYGR_XA@mail.gmail.com>
Hi,
On Thu, 2 Jul 2026 at 18:41, Fujii Masao <[email protected]> wrote:
> Hi,
>
> I found that generated columns and system columns cannot be used in
> COPY FROM WHERE expressions, but the COPY docs still mentions
> only the restriction on subqueries.
>
> So I've created the attached patch which updates the docs to also list
> generated columns and system columns as unsupported in COPY FROM WHERE
> expressions.
>
> Since generated columns have been rejected in COPY FROM WHERE since
> v13, that docs change should be backpatched to all supported branches.
> But the system-column restriction was introduced in v19, so that part
> does not need to be backpatched.
>
> Thoughts?
>
Thanks for the patch!
I think it makes sense to add the system columns and generated
columns limitation to the documentation, patch LGTM.
Regards,
Ayush
view thread (3+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Document COPY FROM WHERE restrictions on generated and system columns
In-Reply-To: <CAJTYsWXij=ZzKDqVMTyGR7=Suf5CJfezBYHyf7+2GWk_CPpUVw@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox