From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: steven.winfield@cantabcapital.com
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #14952: COPY fails to fill in IDENTITY column default value
Date: Thu, 7 Dec 2017 12:13:53 -0500
Message-ID: <12618e2c-0eb0-3e15-c45d-96891c52eb5f@2ndquadrant.com> (raw)
In-Reply-To: <20171207112930.21696.79944@wrigleys.postgresql.org>
References: <20171207112930.21696.79944@wrigleys.postgresql.org>
On 12/7/17 06:29, steven.winfield@cantabcapital.com wrote:
> COPYing data to a table with an IDENTITY column, where the column's value
> isn't specified in the copied input, fails because COPY attempts to insert a
> NULL value for the column:
That indeed appears to be a bug.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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-bugs@postgresql.org
Cc: peter.eisentraut@2ndquadrant.com, steven.winfield@cantabcapital.com
Subject: Re: BUG #14952: COPY fails to fill in IDENTITY column default value
In-Reply-To: <12618e2c-0eb0-3e15-c45d-96891c52eb5f@2ndquadrant.com>
References: <20171207112930.21696.79944@wrigleys.postgresql.org> <12618e2c-0eb0-3e15-c45d-96891c52eb5f@2ndquadrant.com>
* 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