Обсуждение: pgsql: During transaction cleanup, release locks before deleting files.

Поиск
Список
Период
Сортировка

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

От
Robert Haas
Дата:
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(-)