From: | "Chris Hoover" <revoohc(at)gmail(dot)com> |
---|---|
To: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com> |
Cc: | "pgsql-admin(at)postgresql(dot)org Admin" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: Easy way to change table schema? |
Date: | 2007-08-10 17:48:56 |
Message-ID: | 1d219a6f0708101048y616a08a0td52191860ec7665f@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On 8/10/07, Joshua D. Drake <jd(at)commandprompt(dot)com> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Chris Hoover wrote:
> > I have accidentally created some tables in the wrong schema. Since my
> > testers have begun to use them and put data in them, I was hoping for an
> > easy way to move the existing tables.
> >
> > Is there a way to move tables between schema's w/o having to drop and
> > recreate?
>
> ALTER TABLE
>
> http://www.postgresql.org/docs/current/interactive/sql-altertable.html
>
>
>
> >
> > Thanks,
> >
> > Chris
> >
>
>
> - --
thanks, I must be blind in one eye and unable to see out of the other. I
was looking at the page before I sent out my inquiry and did not see it.
Chris
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Marlowe | 2007-08-10 17:57:53 | Re: Mass updates on a large table |
Previous Message | Mark Steben | 2007-08-10 17:37:07 | Mass updates on a large table |