pgsql: Allow copydir() to be interrupted. - Mailing list pgsql-committers

From rhaas@postgresql.org (Robert Haas)
Subject pgsql: Allow copydir() to be interrupted.
Date
Msg-id 20100701201240.1D8C37541D4@cvs.postgresql.org
Whole thread Raw
Responses Re: pgsql: Allow copydir() to be interrupted.  (Andrew Dunstan <andrew@dunslane.net>)
List 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.

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)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Get rid of some more stuff that duplicates c.h or port.h.
Next
From: rhaas@postgresql.org (Robert Haas)
Date:
Subject: pgsql: Allow copydir() to be interrupted.