Re: ALTER TABLE schema SCHEMA TO new_schema?

From: Rod Taylor <rbt(at)rbt(dot)ca>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Joe Conway <mail(at)joeconway(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ALTER TABLE schema SCHEMA TO new_schema?
Date: 2002-12-02 20:34:42
Message-ID: 1038861282.46704.83.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Why just restrict them to moving tables? What if someone wants to move a
> function or an aggregate to another schema?
>
> What if they want to copy it?

Copying might be tricky, but I'd be happy to help with moving everything
else around. Though I don't think sequences can move (until we can
properly track their dependencies) but everything else should be able
to.

Copy is another story all together. But I'd like a

CREATE SCHEMA ... AS COPY <schemaname>;

--
Rod Taylor <rbt(at)rbt(dot)ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rod Taylor 2002-12-02 20:36:41 Re: toast table growing indefinitely? Known
Previous Message Magnus Naeslund(f) 2002-12-02 20:34:20 Re: 7.4 Wishlist