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:11:06 +0100 |
commit | a0a7d5dea2d4461a72d1d6a7f5b7dffa5ab72743 (patch) | |
tree | 578fa3c228aeb873ee28b8bf5757283c820e99f2 | |
parent | a88e5886c59c0e1e01f424a1fcb477db82ddd3af (diff) | |
download | postgresql-a0a7d5dea2d4461a72d1d6a7f5b7dffa5ab72743.tar.gz postgresql-a0a7d5dea2d4461a72d1d6a7f5b7dffa5ab72743.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.
-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 8d8051b87ea..15e84154823 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. |