ALTER TABLE ... SET TABLESPACE - Mailing list pgsql-patches

From Gavin Sherry
Subject ALTER TABLE ... SET TABLESPACE
Date
Msg-id Pine.LNX.4.58.0406201204430.25868@linuxworld.com.au
Whole thread Raw
Responses Re: ALTER TABLE ... SET TABLESPACE  (Tatsuo Ishii <t-ishii@sra.co.jp>)
List 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

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: eventlog fix
Next
From: "Andrew Dunstan"
Date:
Subject: Re: [HACKERS] Cannot initdb in cvs tip