Re: Explicitly adding a table to a schema. - Mailing list pgsql-general

From Demitri Muna
Subject Re: Explicitly adding a table to a schema.
Date
Msg-id 49D30CCA-F699-41D1-87C5-B31FDD38F61D@mac.com
Whole thread Raw
In response to Re: Explicitly adding a table to a schema.  (Adam Cornett <adam.cornett@gmail.com>)
Responses Re: Explicitly adding a table to a schema.  (Adam Cornett <adam.cornett@gmail.com>)
Re: Explicitly adding a table to a schema.  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: Explicitly adding a table to a schema.  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgsql-general
Hi,

On Nov 4, 2011, at 2:09 PM, Adam Cornett wrote:

> You can use ALTER TABLE (http://www.postgresql.org/docs/current/static/sql-altertable.html) to set the schema of
existingtables: 
> ALTER TABLE foo SET SCHEMA bar

Thanks. I did try that, but that command moves the table to a different schema, which is not what I'm trying to do. It
struckme to try to move it to another schema (where the definition then explicitly included the schema prefix) and then
moveit back, but it still doesn't have the schema prefix. 

Cheers,
Demitri

pgsql-general by date:

Previous
From: Martín Marqués
Date:
Subject: Re: 9.1 replication on different arch
Next
From: Adam Cornett
Date:
Subject: Re: Explicitly adding a table to a schema.