1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Fix incorrect ordering of smgr cleanup relative to buffer pin cleanup

during transaction abort.  Add a regression test case to catch related
mistakes in future.  Alvaro Herrera and Tom Lane.
This commit is contained in:
Tom Lane
2004-09-06 17:56:33 +00:00
parent eb917c1a21
commit 23645f0582
4 changed files with 44 additions and 12 deletions

View File

@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/storage/smgr/smgr.c,v 1.81 2004/08/30 02:54:39 momjian Exp $
* $PostgreSQL: pgsql/src/backend/storage/smgr/smgr.c,v 1.82 2004/09/06 17:56:16 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -784,7 +784,7 @@ smgrcommit(void)
}
/*
* smgrabort() -- Abort changes made during the current transaction.
* smgrabort() -- Clean up after transaction abort.
*/
void
smgrabort(void)