Re: INSERT .. SET syntax

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Marko Tiikkaja <marko(at)joh(dot)to>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: INSERT .. SET syntax
Date: 2016-07-10 06:04:31
Message-ID: CAA4eK1J4UbRM-=f0G0N5SXhzY0+tV4f+B9jn5=PT=yqv4SH+MA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jul 4, 2016 at 1:06 AM, Marko Tiikkaja <marko(at)joh(dot)to> wrote:
> Hi,
>
> Here's a patch for $SUBJECT. I'll probably work on the docs a bit more
> before the next CF, but I thought I'd post it anyway.
>

I could see that it can be useful in certain cases as described in the
documentation part of the patch. I noticed that you have used
transformUpdateTargetList() to generate expression list for this case,
but that function raises some internal errors which indicates that
error is from Update. I think that might be misleading to users, if
they ever got raised.

--
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Netanel Katzburg 2016-07-10 10:27:55 Re: Disable WAL completely - Performance and Persistency research
Previous Message Gavin Flower 2016-07-10 00:13:21 Re: \timing interval