OSDN Git Service

Allow copydir() to be interrupted.
authorRobert Haas <rhaas@postgresql.org>
Thu, 1 Jul 2010 20:12:40 +0000 (20:12 +0000)
committerRobert Haas <rhaas@postgresql.org>
Thu, 1 Jul 2010 20:12:40 +0000 (20:12 +0000)
commit71d6d0750d8115b646417b62cc97bab7f9872cf5
tree5886bf16c34b28121e780105fb4328d5018df42a
parent600fc1dc9d6bbb66a76975ea6b431b44c76e7e83
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