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

ALTER TABLE ... SET TABLESPACE

From: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
To: pgsql-patches(at)postgresql(dot)org
Subject: ALTER TABLE ... SET TABLESPACE
Date: 2004-06-20 02:31:48
Message-ID: Pine.LNX.4.58.0406201204430.25868@linuxworld.com.au (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Attached is a patch implementing this functionality.

I've modified make_new_heap() as well as swap_relfilenodes() to not assume
that tablespaces remain the same from old to new heap. I thought it better
to go down this road than introduce a lot of duplicate code.

Thanks

Gavin

Attachment: altertable.diff.gz
Description: application/x-gzip (3.7 KB)

Responses

pgsql-hackers by date

Next:From: Andrew DunstanDate: 2004-06-20 07:12:19
Subject: Re: Cannot initdb in cvs tip
Previous:From: John HansenDate: 2004-06-20 01:27:36
Subject: Re: Cannot initdb in cvs tip

pgsql-patches by date

Next:From: Andrew DunstanDate: 2004-06-20 07:12:19
Subject: Re: Cannot initdb in cvs tip
Previous:From: Bruce MomjianDate: 2004-06-20 01:33:51
Subject: Re: eventlog fix

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