Re: Updated ALTER TABLE ... SET TABLESPACE patch

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Updated ALTER TABLE ... SET TABLESPACE patch
Date: 2004-07-12 03:37:53
Message-ID: 40F20791.5090106@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

> In fact, now that I think of it, the patch-as-committed already
> introduces some serious headaches for pg_dump: it can't know for sure
> what name will be assigned to constraint indexes (pkey and unique
> indexes) so it has no good way to emit ALTER TABLE SET TABLESPACE
> commands for those indexes.

I guess I'll have to make it punt that the name will be what it
currently is :(

Otherwise, we need to extend the ADD CONSTRAINT syntax. That would be
handy because the you could specify the TABLESPACE at creation time as well.

Chris

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-07-12 03:40:30 Re: Updated ALTER TABLE ... SET TABLESPACE patch
Previous Message Tom Lane 2004-07-12 02:54:06 Re: Updated ALTER TABLE ... SET TABLESPACE patch