Allow copydir() to be interrupted.

Robert Haas <rhaas@postgresql.org>

Commit: 71d6d0750d8115b646417b62cc97bab7f9872cf5
Author: Robert Haas <rhaas@postgresql.org>
Date: 2010-07-01T20:12:40Z
Releases: 9.0.0
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