Re: BUG #14952: COPY fails to fill in IDENTITY column default value - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: BUG #14952: COPY fails to fill in IDENTITY column default value
Date
Msg-id 12618e2c-0eb0-3e15-c45d-96891c52eb5f@2ndquadrant.com
Whole thread Raw
In response to BUG #14952: COPY fails to fill in IDENTITY column default value  (steven.winfield@cantabcapital.com)
Responses Re: BUG #14952: COPY fails to fill in IDENTITY column default value  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-bugs
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


pgsql-bugs by date:

Previous
From: Bernd Helmle
Date:
Subject: PostgreSQL crashes with SIGSEGV
Next
From: François CHAHUNEAU
Date:
Subject: Re: [BUGS] pg_trgm word_similarity inconsistencies or bug