Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#25311 closed Cleanup/optimization (fixed)

Docs: "You may perform partial commits ..." Sorry you can't. Commits are ACID. They are durable xor not.

Reported by: Thomas Güttler Owned by: nobody
Component: Documentation Version: 1.8
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

There is vague description on:
https://docs.djangoproject.com/en/1.8/topics/db/transactions/#tying-transactions-to-http-requests

"You may perform partial commits ..."

Sorry, you can't. Commits are ACID. They are durable xor not. They can't be partial.

Some years ago I was wondering why transactions in PostgreSQL are not nestable. I needed some time to understand it. The fact: Transaction can't be nested.

I would write:

"You may perform subtransactions via savepoints ..."

Change History (3)

comment:1 Changed 7 years ago by Tim Graham

Triage Stage: UnreviewedReady for checkin

Sounds good to me.

comment:2 Changed 7 years ago by Tim Graham <timograham@…>

Resolution: fixed
Status: newclosed

In ea47a05:

Fixed #25311 -- Removed vague language about "partial commits" from docs.

comment:3 Changed 7 years ago by Tim Graham <timograham@…>

In 58335a2c:

[1.8.x] Fixed #25311 -- Removed vague language about "partial commits" from docs.

Backport of ea47a052ba7a097a98993c240ecea96a115f6c25 from master

Note: See TracTickets for help on using tickets.
Back to Top