pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: MERGE INSERT allows only one VALUES clause
3+ messages / 3 participants
[nested] [flat]

* pgsql: MERGE INSERT allows only one VALUES clause
@ 2018-04-05 11:05  Simon Riggs <simon@2ndQuadrant.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Simon Riggs @ 2018-04-05 11:05 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

MERGE INSERT allows only one VALUES clause

Doc syntax and brief mention of restriction

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a5d86181ecc9c441d4c327771c43134de59549cd

Modified Files
--------------
doc/src/sgml/ref/merge.sgml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgsql: MERGE INSERT allows only one VALUES clause
@ 2018-04-05 16:15  Andrew Gierth <andrew@tao11.riddles.org.uk>
  parent: Simon Riggs <simon@2ndQuadrant.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Andrew Gierth @ 2018-04-05 16:15 UTC (permalink / raw)
  To: Simon Riggs <simon@2ndQuadrant.com>; +Cc: pgsql-committers@lists.postgresql.org

>>>>> "Simon" == Simon Riggs <simon@2ndQuadrant.com> writes:

 Simon> MERGE INSERT allows only one VALUES clause

That can't possibly be right; you've changed it to say that only one
_expression_ (i.e. column) is allowed in the VALUES () list, not that
only one _row_ is allowed. I think it was correct before.

-- 
Andrew (irc:RhodiumToad)




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgsql: MERGE INSERT allows only one VALUES clause
@ 2018-04-05 19:39  Simon Riggs <simon@2ndquadrant.com>
  parent: Andrew Gierth <andrew@tao11.riddles.org.uk>
  0 siblings, 0 replies; 3+ messages in thread

From: Simon Riggs @ 2018-04-05 19:39 UTC (permalink / raw)
  To: Andrew Gierth <andrew@tao11.riddles.org.uk>; +Cc: pgsql-committers <pgsql-committers@lists.postgresql.org>

On 5 April 2018 at 17:15, Andrew Gierth <andrew@tao11.riddles.org.uk> wrote:
>>>>>> "Simon" == Simon Riggs <simon@2ndQuadrant.com> writes:
>
>  Simon> MERGE INSERT allows only one VALUES clause
>
> That can't possibly be right; you've changed it to say that only one
> _expression_ (i.e. column) is allowed in the VALUES () list, not that
> only one _row_ is allowed. I think it was correct before.

Corrected, thanks

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




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2018-04-05 19:39 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-04-05 11:05 pgsql: MERGE INSERT allows only one VALUES clause Simon Riggs <simon@2ndQuadrant.com>
2018-04-05 16:15 ` Andrew Gierth <andrew@tao11.riddles.org.uk>
2018-04-05 19:39   ` Simon Riggs <simon@2ndquadrant.com>

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