Re: [HACKERS] generated columns - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] generated columns
Date
Msg-id 59e69246-8f32-b3cb-af4c-8c359d4049c7@2ndquadrant.com
Whole thread Raw
In response to Re: [HACKERS] generated columns  (Erik Rijkers <er@xs4all.nl>)
Responses Re: [HACKERS] generated columns
List 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



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] generated columns
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] generated columns