Re: Re : Re: BUG #16441: Cannot multi-insert into generated column with DEFAULT value

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Colin Darie <colin(at)darie(dot)eu>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: Re : Re: BUG #16441: Cannot multi-insert into generated column with DEFAULT value
Date: 2020-05-20 14:43:25
Message-ID: fb37ce63-ca08-f55c-2e85-a95a679bf85a@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 2020-05-18 17:10, Colin Darie wrote:
> Rails test framework insert fixtures records this way, and there is currently no way to tell Rails to ignore these columns for insertion (it should obviously). In my case, this breaks all my test suite. AFAIK this is the same for other frameworks or batch records tools.

OK, that makes sense. I'll take another look.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Benny Kramek 2020-05-20 21:24:09 Unique constraint error instead of serialization_failure
Previous Message Christoph Berg 2020-05-20 12:58:07 time values past 24:00:00 (or rather 23:59:60)