Re: INSERT ... ON CONFLICT syntax issues

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, Robert Haas <robertmhaas(at)gmail(dot)com>, Peter Geoghegan <pg(at)heroku(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>, Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Subject: Re: INSERT ... ON CONFLICT syntax issues
Date: 2015-05-06 21:30:37
Message-ID: 554A87FD.3000704@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 05/07/2015 12:01 AM, Andres Freund wrote:
> On 2015-05-06 23:48:18 +0300, Heikki Linnakangas wrote:
>> I'll see about fixing that. It's not just a matter of creating another alias
>> for the same rel, I'm afraid: "foo.t" is supposed to refer to the tuple that
>> we attempted to insert, like it does without the ON CONFLICT.
>
> I'm not sure what you mean here?

Sorry, forget about that. I was confused and mixed up EXCLUDED and
TARGET. Looks like they really aren't very good names :-).

- Heikki

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-05-06 21:33:03 Re: Patch for bug #12845 (GB18030 encoding)
Previous Message Heikki Linnakangas 2015-05-06 21:27:29 Re: INSERT ... ON CONFLICT syntax issues