pgsql: Allow copydir() to be interrupted.

From: rhaas(at)postgresql(dot)org (Robert Haas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow copydir() to be interrupted.
Date: 2010-07-01 20:13:06
Message-ID: 20100701201306.B96157541D4@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Tags:
----
REL8_4_STABLE

Modified Files:
--------------
pgsql/src/port:
copydir.c (r1.23.2.2 -> r1.23.2.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/copydir.c?r1=1.23.2.2&r2=1.23.2.3)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2010-07-02 02:44:32 pgsql: Issue 'mkdir' hint when replying CREATE TABLESPACE in recovery
Previous Message Robert Haas 2010-07-01 20:12:40 pgsql: Allow copydir() to be interrupted.