Re: returning clause is not clearly documented

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: "mf(dot)esp1400(at)gmail(dot)com" <mf(dot)esp1400(at)gmail(dot)com>, "pgsql-docs(at)lists(dot)postgresql(dot)org" <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: returning clause is not clearly documented
Date: 2022-03-11 14:53:48
Message-ID: CAKFQuwa_TJeAWJnqZz4_xexabB2bgRi9sO5-D=XFo-_FZNCYCg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Friday, March 11, 2022, PG Doc comments form <noreply(at)postgresql(dot)org>
wrote:

> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/14/dml-returning.html
> Description:
>
> Hello there
> I'm not good enough in english, so have my excuse.
>
> I don't undestand how Returning clause work when more than on row are
> affected. i.e I have an update with 3 rows affected and I want to have then
> to return to then front-end.
> How I must do in same cases?
>

It doesn’t matter how many rows are affected, returning will return them
all.

David J.

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Jonathan S. Katz 2022-03-12 02:30:41 Re: Fonts on postgresql.org needlessly served from Google
Previous Message Drew DeVault 2022-03-11 09:08:07 Fonts on postgresql.org needlessly served from Google