pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Colin Darie <colin@darie.eu>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: Re : Re: BUG #16441: Cannot multi-insert into generated column with DEFAULT value
Date: Wed, 20 May 2020 16:43:25 +0200
Message-ID: <fb37ce63-ca08-f55c-2e85-a95a679bf85a@2ndquadrant.com> (raw)
In-Reply-To: <lUWRjUorAgZ2z5SdDCxmnK2PPx5Q4UyNWPvZtukIHRlK0HWGmdubgiZ1fwJJc0buWVvo9IFhCLOsmP7RTuFkJWsm2nJkxMHfiE5aI8IC5Ts=@darie.eu>
References: <16441-f26a1a93b7a4bf7b@postgresql.org>
	<3a66b26f-0154-3216-1ed5-a63bf63ec61a@2ndquadrant.com>
	<lUWRjUorAgZ2z5SdDCxmnK2PPx5Q4UyNWPvZtukIHRlK0HWGmdubgiZ1fwJJc0buWVvo9IFhCLOsmP7RTuFkJWsm2nJkxMHfiE5aI8IC5Ts=@darie.eu>

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





view thread (2+ messages)

Message-ID: <fb37ce63-ca08-f55c-2e85-a95a679bf85a@2ndquadrant.com>
Permalink:  ../fb37ce63-ca08-f55c-2e85-a95a679bf85a@2ndquadrant.com/
Also on:    postgresql.org/message-id/fb37ce63-ca08-f55c-2e85-a95a679bf85a@2ndquadrant.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, colin@darie.eu, pgsql-bugs@lists.postgresql.org
  Subject: Re: Re : Re: BUG #16441: Cannot multi-insert into generated column with DEFAULT value
  In-Reply-To: <fb37ce63-ca08-f55c-2e85-a95a679bf85a@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