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.
copydir.c (r1.36 -> r1.37)
pgsql-hackers by date
|Next:||From: Robert Haas||Date: 2010-07-01 20:13:32|
|Subject: Re: Cannot cancel the change of a tablespace|
|Previous:||From: Stephen J. Butler||Date: 2010-07-01 18:06:33|
|Subject: Re: log files and permissions|
pgsql-committers by date
|Next:||From: Robert Haas||Date: 2010-07-01 20:13:06|
|Subject: pgsql: Allow copydir() to be interrupted.|
|Previous:||From: Tom Lane||Date: 2010-07-01 15:52:52|
|Subject: pgsql: Get rid of some more stuff that duplicates c.h or port.h.|