Opened 12 years ago
Closed 12 years ago
#19896 closed Bug (fixed)
Running `clear.cache()` using PostgreSQL does not remove rows
Reported by: | George Song | Owned by: | nobody |
---|---|---|---|
Component: | Core (Cache system) | Version: | 1.4 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
If you use a PostgreSQL schema as your cache backend, then manually run cache.clear()
, the rows still persist. This is due to the fact that the delete
transaction is never committed.
Change History (3)
comment:1 by , 12 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 12 years ago
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Attempt at fix: https://github.com/django/django/pull/811