On Mon, Mar 05, 2018 at 09:44:37PM +0900, Etsuro Fujita wrote: > I rebased the patch over HEAD. Please find attached an updated patch.
IMHO, it is worth to add more explaining comment into deparseReturningList, why it is necessary to merge WCO attributes to RETURNING clause. You already noted it in the thread. I think it could confuse someone who not very familiar how RETURNING is related with WITH CHECK OPTION.