agora inbox for pgsql-docs@postgresql.org
help / color / mirror / Atom feedFrom: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: marlene.brandstaetter@cargonet.software
Subject: Mistake in statement example
Date: Wed, 01 Mar 2023 07:21:30 +0000
Message-ID: <167765529052.987840.12345375075704447735@wrigleys.postgresql.org> (raw)
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/15/transaction-iso.html
Description:
I believe there is a mistake in an example on
https://www.postgresql.org/docs/current/transaction-iso.html section
13.2.1:
BEGIN;
UPDATE accounts SET balance = balance + 100.00 WHERE acctnum = 12345;
UPDATE accounts SET balance = balance - 100.00 WHERE acctnum = 7534;
COMMIT;
The acctnum is expected to be 12345 in both cases.
view thread (5+ messages) latest in thread
Message-ID: <167765529052.987840.12345375075704447735@wrigleys.postgresql.org>
Permalink: ../167765529052.987840.12345375075704447735@wrigleys.postgresql.org/
Also on: postgresql.org/message-id/167765529052.987840.12345375075704447735@wrigleys.postgresql.org
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: pgsql-docs@postgresql.org
Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, marlene.brandstaetter@cargonet.software
Subject: Re: Mistake in statement example
In-Reply-To: <167765529052.987840.12345375075704447735@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox