Re: Adding OLD/NEW support to RETURNING

Dean Rasheed <dean.a.rasheed@gmail.com>

From: Dean Rasheed <dean.a.rasheed@gmail.com>
To: jian he <jian.universality@gmail.com>
Cc: Jeff Davis <pgsql@j-davis.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Tomas Vondra <tomas@vondra.me>
Date: 2024-10-08T22:01:19Z
Lists: pgsql-hackers

Attachments

On Mon, 26 Aug 2024 at 12:24, Dean Rasheed <dean.a.rasheed@gmail.com> wrote:
>
> On Wed, 21 Aug 2024 at 10:07, jian he <jian.universality@gmail.com> wrote:
> >
> > Other than that, I didn't find any issue.
>
> Thanks for reviewing.
>
> If there are no other issues, I think this is probably ready for commit.
>

This needed rebasing.

Going over it with fresh eyes, I didn't see any issues, other than
some minor tidying up.

Barring objections, I'll commit it soon.

Regards,
Dean

Commits

  1. doc: Updates for RETURNING OLD/NEW.

  2. Fix parsing of qualified relation names in RETURNING.

  3. Add OLD/NEW support to RETURNING in DML queries.

  4. Remove useless casts to (void *)

  5. Refactor/reword some error messages to avoid duplicates