pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: file_fdw: Fix for generated columns
Date: Thu, 04 Apr 2019 07:50:51 +0000
Message-ID: <E1hBx99-0002x6-TN@gemulon.postgresql.org> (raw)

file_fdw: Fix for generated columns

Since file_fdw uses COPY internally, but COPY doesn't allow listing
generated columns in its column list, we need to make sure that we
don't add generated columns to the column lists internally generated
by file_fdw.

Reported-by: Erik Rijkers <er@xs4all.nl>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/33215d113d61980a4b2f2aec36cdcd21fa58c1c4

Modified Files
--------------
contrib/file_fdw/file_fdw.c             |  4 ++++
contrib/file_fdw/input/file_fdw.source  |  6 ++++++
contrib/file_fdw/output/file_fdw.source | 11 +++++++++++
3 files changed, 21 insertions(+)



Message-ID: <E1hBx99-0002x6-TN@gemulon.postgresql.org>
Permalink:  ../E1hBx99-0002x6-TN@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hBx99-0002x6-TN@gemulon.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: file_fdw: Fix for generated columns
  In-Reply-To: <E1hBx99-0002x6-TN@gemulon.postgresql.org>
  References: <E1hBx99-0002x6-TN@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox