At 01:48 PM 23/08/2004, Marc G. Fournier wrote:
Won't the dump/restore "store" a "CREATE SCHEMA" onto the new tablespace? Why would a dump/restore issue an ALTER SCHEMA part way through?

My *belief* is that if the tablespace does not exist, then the restore (which creates the schema and refers to the non-existent tablespace) will fail to create the schema.


We've had the same problem with CREATE TABLE statements. Tom is (I think) working on a SET DEFAULT_TABLESPACE command so that CREATE TABLE no longer refers to the tablespace. Not sure if it will apply to databases or schemas though.



----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 03 5330 3172 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp.mit.edu:11371 |/



---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster

Reply via email to