Re: postgres database file location

Поиск
Список
Период
Сортировка
От Oliver Elphick
Тема Re: postgres database file location
Дата
Msg-id 1133257296.10517.25.camel@linda.lfix.co.uk
обсуждение исходный текст
Ответ на postgres database file location  (Ramon Orticio <rporticio@yahoo.com>)
Список pgsql-novice
On Tue, 2005-11-29 at 00:46 -0800, Ramon Orticio wrote:
> dear friends,
>
> i created a bedrock sample database and put an
> employee table in it. i just can't find the file for
> the database so that i can transfer it to another
> computer.  where is the file of bedrock located?

You cannot transfer the file or database directory alone and expect to
be able to recover data from it; there are global files involved as
well.  To transfer data to another computer you should use pg_dump to
dump the database or table and then you should import the dump file on
the other machine.

--
Oliver Elphick                                          olly@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA  92C8 39E7 280E 3631 3F0E  1EC0 5664 7A2F A543 10EA
                 ========================================
   Do you want to know God?   http://www.lfix.co.uk/knowing_god.html


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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: postgres database file location
Следующее
От:
Дата:
Сообщение: Re: PostgreSQL 8.0.1-2 WinXP Services