pgsql: file_fdw: Fix for generated columns

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: file_fdw: Fix for generated columns
Date: 2019-04-04 07:50:51
Message-ID: E1hBx99-0002x6-TN@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)xs4all(dot)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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2019-04-04 10:45:10 pgsql: Refactor the fsync queue for wider use.
Previous Message Noah Misch 2019-04-04 07:06:19 pgsql: Fix back-patch of 16ee6eaf80a40007a138b60bb5661660058d0422 to v9