Allow copydir() to be interrupted.

Robert Haas <rhaas@postgresql.org>

Commit: 5976be32d2d80e0e4f5717a8c890bbcdf6580da1
Author: Robert Haas <rhaas@postgresql.org>
Date: 2010-07-01T20:13:06Z
Releases: 8.4.5
Allow copydir() to be interrupted.

This makes ALTER DATABASE .. SET TABLESPACE and CREATE DATABASE more
sensitive to interrupts.  Backpatch to 8.4, where ALTER DATABASE .. SET
TABLESPACE was introduced.  We could go back further, but in the absence
of complaints about the CREATE DATABASE case it doesn't seem worth it.

Guillaume Lelarge, with a small correction by me.

Files

PathChange+/−
src/port/copydir.c modified +8 −1