[Q] createdb for existing directory

Поиск
Список
Период
Сортировка
От Roderick A. Anderson
Тема [Q] createdb for existing directory
Дата
Msg-id Pine.LNX.4.10.10010161127300.4305-100000@altoplanos.net
обсуждение исходный текст
Ответы Re: [Q] createdb for existing directory  (Alfred Perlstein <bright@wintelcom.net>)
Список pgsql-general
Typically when I want to place a database on a different partition I
create it then copy all the stuff from the new databases directory(s) to
the new partition followed by a mount.  I check things out and then
unmount the partition remove all the stuff in the database directories,
remount, and then update /etc/fstab for the system.

   Seems to work but it is a kludgy method to do it.  What I'd like to do
is mount the partition before doing a createdb.

Will this work with 7.1?  (I'm writing up some instructions that I'd like
to not have to change later.)


TIA,
Rod
--
Roderick A. Anderson
raanders@altoplanos.net               Altoplanos Information Systems, Inc.
Voice: 208.765.6149                            212 S. 11th Street, Suite 5
FAX: 208.664.5299                                  Coeur d'Alene, ID 83814


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

Предыдущее
От: Gilles DAROLD
Дата:
Сообщение: Re: PL/Perl compilation error
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: dump vs dumpall