From: mike@fontling.com
To: pgsql-bugs@postgresql.org
Subject: BUG #7846: Documentation: Should FOUND be documented as an output of UPDATE statement?
Date: Sat, 02 Feb 2013 15:28:29 +0000
Message-ID: <E1U1f13-00077V-Mr@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 7846
Logged by: Mike Sherrill
Email address: mike@fontling.com
PostgreSQL version: 9.1.6
Operating system: Ubuntu Linux 12.04
Description:
Documentation for the SQL UPDATE statement doesn't mention that it sets the
FOUND variable. (Refer to sql-update.html, "Outputs".) That behavior *is*
documented, but only in plpgsql-statements.html (Basic Statements, section
39.5.5).
I understand the difference between a SQL statement and a PL/PGSQL
statement. But if I were looking for the effects and side-effects of an
UPDATE statement, I'd go to the docs for UPDATE, not for PL/PGSQL basic
statements. I think that's what most people would do, especially if they
didn't have prior knowledge of the FOUND variable.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: mike@fontling.com
Subject: Re: BUG #7846: Documentation: Should FOUND be documented as an output of UPDATE statement?
In-Reply-To: <E1U1f13-00077V-Mr@wrigleys.postgresql.org>
References: <E1U1f13-00077V-Mr@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox