| From: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> |
|---|---|
| To: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> |
| Cc: | Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | ALTER xxx SET TABLESPACE (was bug in DROP TABLESPACE) |
| Date: | 2004-07-07 07:07:53 |
| Message-ID: | 40EBA149.2020207@pse-consulting.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Christopher Kings-Lynne wrote:
>
> The other thing we need are these two commands:
>
> ALTER DATABASE foo SET TABLESPACE spc;
> ALTER SCHEMA foo SET TABLESPACE spc;
>
> I think these should not be considered new features but essential
> functionality left out of the original patch.
Its questionable if these are to be interpreted as just changing the
default tablespace for subsequent creates, or also moving all objects
that were created using the previous tablespace. Since it's
indistinguishable whether an object was created using the default from
schema/database or given a tablespace explicitely (unless default was
0), I'd opt for version one.
Regards,
Andreas
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Honza Pazdziora | 2004-07-07 07:16:22 | Re: Nested Transaction TODO list |
| Previous Message | Honza Pazdziora | 2004-07-07 07:03:39 | Re: Adding VERSION to startup log output |