Documentation mistake

Started by Vik Reykjaabout 14 years ago3 messages
#1Vik Reykja
vikreykja@gmail.com

in Section 13.2.3 of the 9.1 docs [1]http://www.postgresql.org/docs/9.1/static/transaction-iso.html#XACT-SERIALIZABLE, the follow sentence fragment can be
found:

"using Serializable transactions will allow one transaction to commit and
and will roll the other back"

Note the double "and" towards the end. (Is this the right list for this kind
of report?)

[1]: http://www.postgresql.org/docs/9.1/static/transaction-iso.html#XACT-SERIALIZABLE
http://www.postgresql.org/docs/9.1/static/transaction-iso.html#XACT-SERIALIZABLE

#2Kevin Grittner
Kevin.Grittner@wicourts.gov
In reply to: Vik Reykja (#1)
1 attachment(s)
Re: Documentation mistake

Vik Reykja <vikreykja@gmail.com> wrote:

in Section 13.2.3 of the 9.1 docs [1], the follow sentence
fragment can be found:

"using Serializable transactions will allow one transaction to
commit and and will roll the other back"

Note the double "and" towards the end. (Is this the right list for
this kind of report?)

When it's strictly documentation and doesn't involve questions of
how the software works, pgsql-docs is probably better, but this
works.

Trivial patch attached. Thanks!

-Kevin

Attachments:

doc_and_and.patchtext/plain; name=doc_and_and.patchDownload
*** a/doc/src/sgml/mvcc.sgml
--- b/doc/src/sgml/mvcc.sgml
***************
*** 547,553 **** SELECT SUM(value) FROM mytab WHERE class = 2;
      If either transaction were running at the Repeatable Read isolation level,
      both would be allowed to commit; but since there is no serial order of execution
      consistent with the result, using Serializable transactions will allow one
!     transaction to commit and and will roll the other back with this message:
  
  <screen>
  ERROR:  could not serialize access due to read/write dependencies among transactions
--- 547,553 ----
      If either transaction were running at the Repeatable Read isolation level,
      both would be allowed to commit; but since there is no serial order of execution
      consistent with the result, using Serializable transactions will allow one
!     transaction to commit and will roll the other back with this message:
  
  <screen>
  ERROR:  could not serialize access due to read/write dependencies among transactions
#3Robert Haas
robertmhaas@gmail.com
In reply to: Kevin Grittner (#2)
Re: Documentation mistake

On Fri, Oct 28, 2011 at 11:01 AM, Kevin Grittner
<Kevin.Grittner@wicourts.gov> wrote:

Vik Reykja <vikreykja@gmail.com> wrote:

in Section 13.2.3 of the 9.1 docs [1], the follow sentence
fragment can be found:

"using Serializable transactions will allow one transaction to
commit and and will roll the other back"

Note the double "and" towards the end. (Is this the right list for
this kind of report?)

When it's strictly documentation and doesn't involve questions of
how the software works, pgsql-docs is probably better, but this
works.

Trivial patch attached.  Thanks!

Trivial commit performed. Thanks.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company