public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: [email protected] <[email protected]>
To: [email protected] <[email protected]>
Subject: Re: returning clause is not clearly documented
Date: Fri, 11 Mar 2022 07:53:48 -0700
Message-ID: <CAKFQuwa_TJeAWJnqZz4_xexabB2bgRi9sO5-D=XFo-_FZNCYCg@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

On Friday, March 11, 2022, PG Doc comments form <[email protected]>
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.


reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: returning clause is not clearly documented
  In-Reply-To: <CAKFQuwa_TJeAWJnqZz4_xexabB2bgRi9sO5-D=XFo-_FZNCYCg@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox