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:13:06
Message-ID: 20100701201306.B96157541D4@cvs.postgresql.org (view raw or flat)
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)

pgsql-committers by date

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

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