Re: [HACKERS] generated columns

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Erik Rijkers <er(at)xs4all(dot)nl>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Sergei Kornilov <sk(at)zsrv(dot)org>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Jaime Casanova <jaime(dot)casanova(at)2ndquadrant(dot)com>
Subject: Re: [HACKERS] generated columns
Date: 2019-04-01 08:52:27
Message-ID: 59e69246-8f32-b3cb-af4c-8c359d4049c7@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2019-03-31 05:49, Erik Rijkers wrote:
> STORED in a
> file_fdw foreign table still silently creates the column which then
> turns out to be useless on SELECT, with an error like:
>
> "ERROR: column some_column_name is a generated column
> DETAIL: Generated columns cannot be used in COPY."
>
> Maybe it'd be possible to get an error earlier, i.e., while trying to
> create such a useless column?

I'll look into it.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2019-04-01 08:53:27 Re: [HACKERS] generated columns
Previous Message Peter Eisentraut 2019-04-01 08:50:40 Re: [HACKERS] generated columns