Moving table from one schema to another - Mailing list pgsql-general

From Walter Haslbeck
Subject Moving table from one schema to another
Date
Msg-id 9n7e12-fa1.ln1@butthole.homeunix.net
Whole thread Raw
List pgsql-general
Hi,

I want to move a table from one schema to another, but
'RENAME TABLE schema1.table1 TO schema2.table1' doesn't
work. Is there a better way than creating a new table with
'CREATE TABLE schema2.table1 AS SELECT * FROM schema1.table1'?

Oh, I'm using 7.4.5.

Walter

pgsql-general by date:

Previous
From: "Jed Nicolau Filho"
Date:
Subject: Sequence failure after some time
Next
From: gearond@fireserve.net
Date:
Subject: wierd reserved word?