Re: INSERT ... ON CONFLICT syntax issues - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: INSERT ... ON CONFLICT syntax issues
Date
Msg-id 20150428144010.GP30322@tamriel.snowman.net
Whole thread Raw
In response to Re: INSERT ... ON CONFLICT syntax issues  (Andres Freund <andres@anarazel.de>)
Responses Re: INSERT ... ON CONFLICT syntax issues
List pgsql-hackers
* Andres Freund (andres@anarazel.de) wrote:
> On 2015-04-28 16:36:28 +0200, Petr Jelinek wrote:
> > I am also very sure that every time I'll write this statement I will have to
> > look into manual for the names of TARGET and EXCLUDED because they don't
> > seem intuitive to me at all (especially the EXCLUDED).
>
> Same here. I don't understand why 'CONFLICTING' would be more ambiguous
> than EXCLUDED (as Peter argued earlier). Especially given that the whole
> syntax is called ON CONFLICT.

Any way we can alias it?  Both of those strike me as annoyingly long and
if we could allow an alias then people can do whatever they want...

No, I haven't got any suggestion on how to do that. :)

It's also something we can probably improve on in the future...
Thanks!
    Stephen

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: INSERT ... ON CONFLICT syntax issues
Next
From: Andres Freund
Date:
Subject: Re: INSERT ... ON CONFLICT syntax issues