[PATCH] Docs: Make notes on sequences and rollback more obvious - Mailing list pgsql-hackers

From Craig Ringer
Subject [PATCH] Docs: Make notes on sequences and rollback more obvious
Date
Msg-id 501BD85E.6030808@ringerc.id.au
Whole thread Raw
Responses Re: [PATCH] Docs: Make notes on sequences and rollback more obvious
List pgsql-hackers
Hi all

I'm seeing enough questions on pgsql-general and stack overflow to
suggest that the docs for how sequences interact with transaction
rollback. Take the most recent post on -general, where the person read
at least the tutorial, but had no idea about the exemption.

The attached patch:

- Moves the note about nextval() from the footer to be inside the
nextval description

- Adds an xref from the advanced-transactions tutorial where the poster
noted their point of confusion, noting the exemption and pointing to the
docs on nextval.

- A pointer from the docs on SERIAL types to the nextval notes on tx
rollback.

Comments would be appreciated.

--
Craig Ringer

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: WIP Patch: Use sortedness of CSV foreign tables for query planning
Next
From: Bruce Momjian
Date:
Subject: Re: Word-smithing doc changes