]> granicus.if.org Git - postgresql/commit
During transaction cleanup, release locks before deleting files.
authorRobert Haas <rhaas@postgresql.org>
Thu, 14 Jun 2012 14:19:33 +0000 (10:19 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 14 Jun 2012 14:19:33 +0000 (10:19 -0400)
commitcd80073445ff5d72ad42923ba3d017541feae103
tree069ff417fafbd7b11a34f36d5402da2c4698394d
parent6cd015bea38b8a59feb84bf238a880a3b503cf5f
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
src/backend/access/transam/xact.c