From: Chris Hoover <revoohc@gmail.com>
To: Joshua D. Drake <jd@commandprompt.com>
Cc: pgsql-admin@postgresql.org Admin <pgsql-admin@postgresql.org>
Subject: Re: Easy way to change table schema?
Date: Fri, 10 Aug 2007 13:48:56 -0400
Message-ID: <1d219a6f0708101048y616a08a0td52191860ec7665f@mail.gmail.com> (raw)
In-Reply-To: <46BC846D.6010109@commandprompt.com>
References: <1d219a6f0708100824v6c21b62agd81f53890ffa3876@mail.gmail.com>
<46BC846D.6010109@commandprompt.com>
On 8/10/07, Joshua D. Drake <jd@commandprompt.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: revoohc@gmail.com, jd@commandprompt.com
Subject: Re: Easy way to change table schema?
In-Reply-To: <1d219a6f0708101048y616a08a0td52191860ec7665f@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox