Re: ALTER TABLE schema SCHEMA TO new_schema?

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Joe Conway" <mail(at)joeconway(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ALTER TABLE schema SCHEMA TO new_schema?
Date: 2002-12-01 19:21:36
Message-ID: 014501c2996e$dda49bc0$6500a8c0@internal
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > I was thinking more along the lines of ALTER TABLE a.b RENAME TO x.y
> >
> > I don't see anything in the SQL spec about this; anyone know what
> > precedent is in Oracle or other DBMSes?
>
> Good question. I can't find anything in the Oracle docs indicating it is
even
> possible. We should probably just go with your suggestion. Anything else
> beyond the relnamespace and pg_depend entries that need to be dealt with?

What about sequences for serial columns? What about views or types that
depend on the table?

Chris

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2002-12-01 19:23:19 Re: tsearch thoughts
Previous Message Rod Taylor 2002-12-01 19:04:22 Re: Hard-coded PUBLIC in pg_dump