Re: [PATCHES] ALTER SCHEMA ... SET TABLESPACE
От | Philip Warner |
---|---|
Тема | Re: [PATCHES] ALTER SCHEMA ... SET TABLESPACE |
Дата | |
Msg-id | 6.1.1.1.0.20040823135335.04fd6338@203.8.195.10 обсуждение исходный текст |
Ответ на | Re: [PATCHES] ALTER SCHEMA ... SET TABLESPACE ("Marc G. Fournier" <scrappy@postgresql.org>) |
Ответы |
Re: [PATCHES] ALTER SCHEMA ... SET TABLESPACE
|
Список | pgsql-hackers |
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 |/
В списке pgsql-hackers по дате отправления: