Skip site navigation (1) Skip section navigation (2)

pgsql: During transaction cleanup,release locks before deleting files.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: During transaction cleanup,release locks before deleting files.
Date: 2012-06-14 14:20:56
Message-ID: E1SfAuu-0007S8-57@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
During transaction cleanup, release locks before deleting files.

There's no need to hold onto the locks until the files are needed,
and by doing it this way, we reduce the impact on other backends who
may be awaiting locks we hold.

Noah Misch

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/cd80073445ff5d72ad42923ba3d017541feae103

Modified Files
--------------
src/backend/access/transam/xact.c |   23 +++++++++++++----------
1 files changed, 13 insertions(+), 10 deletions(-)

pgsql-committers by date

Next:From: Robert HaasDate: 2012-06-14 17:29:27
Subject: pgsql: New SQL functons pg_backup_in_progress() andpg_backup_start_tim
Previous:From: Robert HaasDate: 2012-06-14 14:13:37
Subject: pgsql: Add new function log_newpage_buffer.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group