Re: pgsql: Allow copydir() to be interrupted.

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Robert Haas <rhaas(at)postgresql(dot)org>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Allow copydir() to be interrupted.
Date: 2010-07-02 12:10:25
Message-ID: 4C2DD731.50807@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Robert Haas wrote:
> 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)
>
>

This appears to have broken MinGW and Cygwin builds on the buildfarm.

cheers

andrew

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2010-07-02 13:13:37 Re: pgsql: Allow copydir() to be interrupted.
Previous Message User Bschwarz 2010-07-02 06:55:15 pgtcl - libpgtcl: * some additional code to support callback for async

Browse pgsql-hackers by date

  From Date Subject
Next Message Teodor Sigaev 2010-07-02 12:33:31 gincostestimate
Previous Message uwcssa 2010-07-02 11:59:56 hello