Mistake in statement example

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема Mistake in statement example
Дата
Msg-id 167765529052.987840.12345375075704447735@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: Mistake in statement example  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-docs
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.

В списке pgsql-docs по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: incorrect info in dblink examples
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Mistake in statement example