Skip site navigation (1) Skip section navigation (2)

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:12:40
Message-ID: 20100701201240.1D8C37541D4@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
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)

Responses

pgsql-hackers by date

Next:From: Robert HaasDate: 2010-07-01 20:13:32
Subject: Re: Cannot cancel the change of a tablespace
Previous:From: Stephen J. ButlerDate: 2010-07-01 18:06:33
Subject: Re: log files and permissions

pgsql-committers by date

Next:From: Robert HaasDate: 2010-07-01 20:13:06
Subject: pgsql: Allow copydir() to be interrupted.
Previous:From: Tom LaneDate: 2010-07-01 15:52:52
Subject: pgsql: Get rid of some more stuff that duplicates c.h or port.h.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group