Improve parse representation for MERGE

Simon Riggs <simon@2ndQuadrant.com>

Commit: f1464c53804fa7280a7942f6ac08038440f73b11
Author: Simon Riggs <simon@2ndQuadrant.com>
Date: 2018-04-06T08:38:59Z
Releases: 11.0
Improve parse representation for MERGE

Separation of parser data structures from executor, as
requested by Tom Lane. Further improvements possible.

While there, implement error for multiple VALUES clauses via parser
to allow line number of error, as requested by Andres Freund.

Author: Pavan Deolasee

Discussion: https://www.postgresql.org/message-id/CABOikdPpqjectFchg0FyTOpsGXyPoqwgC==OLKWuxgBOsrDDZw@mail.gmail.com

Files

Discussion