Re: pgsql: Allow copydir() to be interrupted.
Andrew Dunstan <andrew@dunslane.net>
From: Andrew Dunstan <andrew@dunslane.net>
To: Robert Haas <rhaas@postgresql.org>
Cc: pgsql-committers@postgresql.org
Date: 2010-07-02T12:10:25Z
Lists: pgsql-hackers
Robert Haas wrote: > Log Message: > ----------- > 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. > > Modified Files: > -------------- > pgsql/src/port: > copydir.c (r1.36 -> r1.37) > (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/copydir.c?r1=1.36&r2=1.37) > > This appears to have broken MinGW and Cygwin builds on the buildfarm. cheers andrew