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

Re: Cannot cancel the change of a tablespace

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Cannot cancel the change of a tablespace
Date: 2010-07-01 22:31:30
Message-ID: 4C2D1742.6020107@lelarge.info (view raw or flat)
Thread:
Lists: pgsql-hackers
Le 01/07/2010 22:13, Robert Haas a écrit :
> On Thu, Jul 1, 2010 at 12:11 PM, Guillaume Lelarge
> <guillaume(at)lelarge(dot)info> wrote:
>> Le 01/07/2010 17:54, Robert Haas a écrit :
>>> On Thu, Jul 1, 2010 at 10:18 AM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>>>> On Thu, Jul 1, 2010 at 5:30 AM, Guillaume Lelarge
>>>> <guillaume(at)lelarge(dot)info> wrote:
>>>>>>>> On Tue, Jun 29, 2010 at 9:42 PM, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
>>>>>>>>> So this is not something we want fixed for 9.0, as indicated by Simon?
>>>>>>>>> I don't see the patch on the commit-fest page yet.
>>>>>
>>>>> Finally, I added it to the next commit fest. Robert can work on it
>>>>> before if he wants to (or has the time).
>>>>
>>>> I'd been avoiding working on this because Simon had said he was going
>>>> to commit it, but I can pick it up.  I've committed and back-patched
>>>> (to 8.0, as 7.4 does not have tablespaces) the fix for ALTER TABLE ..
>>>> SET TABLESPACE.  I'll take a look at the rest of it as well.
>>>
>>> It looks like we have two reasonable choices here:
>>>
>>> - We could backpatch this only to 8.4, where ALTER DATABASE .. SET
>>> TABLESPACE was introduced.
>>>
>>> - Or, since this also makes it easier to interrupt CREATE DATABASE new
>>> TEMPLATE = some_big_database, we could back-patch it all the way to
>>> 8.1, which is the first release where we use copydir() rather than
>>> invoking cp -r (except on Windows, where copydir() has always been
>>> used, but releases < 8.2 aren't supported on Windows anyway).
>>>
>>> Since I can't remember anyone complaining about difficulty
>>> interrupting CREATE DATABASE, I'm inclined to go back only to 8.4, and
>>> will do that a bit later.
>>>
>>
>> I agree that a backpatch to 8.4 seems enough.
> 
> Done.
> 

Thanks, Robert.


-- 
Guillaume
 http://www.postgresql.fr
 http://dalibo.com

In response to

pgsql-hackers by date

Next:From: Robert HaasDate: 2010-07-01 22:41:31
Subject: Re: Issue: Deprecation of the XML2 module 'xml_is_well_formed' function
Previous:From: Pavel StehuleDate: 2010-07-01 20:58:49
Subject: actualised plpgsql tutorial

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