diff options
author | Andrew Gierth <rhodiumtoad@postgresql.org> | 2020-04-11 08:04:57 +0100 |
---|---|---|
committer | Andrew Gierth <rhodiumtoad@postgresql.org> | 2020-04-11 08:04:57 +0100 |
commit | 8a47b775a16fb4f1e154c0f319a030498e123164 (patch) | |
tree | 080bcd188cd9795c7305ae5f4aebd6b06c17d463 /doc/src | |
parent | 20fbb711ef43ef70093378ff5efdf1b6e8cc10d8 (diff) | |
download | postgresql-8a47b775a16fb4f1e154c0f319a030498e123164.tar.gz postgresql-8a47b775a16fb4f1e154c0f319a030498e123164.zip |
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.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/protocol.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/protocol.sgml b/doc/src/sgml/protocol.sgml index 536de9a698e..c1b2457b1d7 100644 --- a/doc/src/sgml/protocol.sgml +++ b/doc/src/sgml/protocol.sgml @@ -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. |