mirror of
https://github.com/postgres/postgres.git
synced 2026-04-22 14:47:29 -04:00
doc: restore intentional typo
Commit ac8623760 "fixed" a typo in an example of what would happen in
the event of a typo. Restore the original typo and add a comment about
its intentionality. Backpatch to 12 where the error was introduced.
Per report from irc user Nicolás Alvarez.
This commit is contained in:
parent
20fbb711ef
commit
8a47b775a1
1 changed files with 1 additions and 1 deletions
|
|
@ -811,7 +811,7 @@ BEGIN;
|
|||
INSERT INTO mytable VALUES(1);
|
||||
COMMIT;
|
||||
INSERT INTO mytable VALUES(2);
|
||||
SELECT 1/0;
|
||||
SELCT 1/0;<!-- this typo is intentional -->
|
||||
</programlisting>
|
||||
then none of the statements would get run, resulting in the visible
|
||||
difference that the first <command>INSERT</command> is not committed.
|
||||
|
|
|
|||
Loading…
Reference in a new issue