Re: COPYING A DATABASE TO ANOTHER TABLESPACE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: COPYING A DATABASE TO ANOTHER TABLESPACE
Дата
Msg-id 18573.1218675232@sss.pgh.pa.us
обсуждение исходный текст
Ответ на COPYING A DATABASE TO ANOTHER TABLESPACE  ("JORGE MALDONADO" <jorgemal1960@gmail.com>)
Список pgsql-novice
"JORGE MALDONADO" <jorgemal1960@gmail.com> writes:
> I created a database in the default tablespace and added the required
> objects like tables and indexes. Now, I noticed that I need it in a
> different tablespace. I know that one way to solve this issue is to create
> the database again and add tables and indexes.
> Is it possible to get a copy of my complete database from the default
> tablespace to another?

Try CREATE DATABASE with the original DB as template.

            regards, tom lane

В списке pgsql-novice по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Contrib/uuid Missing
Следующее
От: "Candace Wong"
Дата:
Сообщение: Supported by latest Debian version?