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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-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 Content-Type Size
altertable.diff.gz application/x-gzip 3.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2004-06-20 07:12:19 Re: Cannot initdb in cvs tip
Previous Message John Hansen 2004-06-20 01:27:36 Re: Cannot initdb in cvs tip

Browse pgsql-patches by date

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