Allow copydir() to be interrupted.
authorRobert Haas <[email protected]>
Thu, 1 Jul 2010 20:13:06 +0000 (20:13 +0000)
committerRobert Haas <[email protected]>
Thu, 1 Jul 2010 20:13:06 +0000 (20:13 +0000)
commit5976be32d2d80e0e4f5717a8c890bbcdf6580da1
treeb6059b8fbe9ac0d4d3b54f334ffe80acbe5d7054
parente61665f118a67325f32c769f7ea99764d1d6439f
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.
src/port/copydir.c