Re: MERGE ... RETURNING - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: MERGE ... RETURNING
Date
Msg-id fff7a24e740d8116e4573dcf9321b35730022263.camel@j-davis.com
Whole thread Raw
In response to Re: MERGE ... RETURNING  (Gurjeet Singh <gurjeet@singh.im>)
List pgsql-hackers
On Thu, 2023-07-20 at 23:19 -0700, Gurjeet Singh wrote:
> Plus, if we were able to make it work as SQL syntax, it's very likely
> we can use the same technique to implement BEFORE and AFTER behaviour
> in UPDATE ... RETURNING that the old thread could not accomplish a
> decade ago.

To clarify, I don't think having a special table alias will require any
changes in gram.y and I don't consider it a syntactical change.

I haven't looked into the implementation yet.

Regards,
    Jeff Davis




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Issue in _bt_getrootheight
Next
From: Peter Geoghegan
Date:
Subject: Re: Use of additional index columns in rows filtering