| От | Kevin Kempter |
|---|---|
| Тема | Re: Table space question |
| Дата | |
| Msg-id | 201004021438.16582.kevink@consistentstate.com обсуждение исходный текст |
| Ответ на | Table space question (akp geek <akpgeek@gmail.com>) |
| Список | pgsql-general |
On Friday 02 April 2010 12:44, akp geek wrote: > Hi all - > > I have created dump of a database where I have a tablespace > (data_tblspace ) associated with relations. I have restored to a different > server. I created the same table space. Now I need to create an other > database on the same server using the same dump. but I need to have a > different tablespace for all the relations. > > Can you please suggest? Do I have to do the restore the > database to the same tablespace first? and then alter the tablespace? > > > Regards Maybe something like this (assuming the dump file is in text/sql format): sed "s/data_tblspace/new_tblspace/g" dump_file > new dump file
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера