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
Showing
Please register or sign in to comment