Re: postgres database file location - Mailing list pgsql-novice

From Oliver Elphick
Subject Re: postgres database file location
Date
Msg-id 1133257296.10517.25.camel@linda.lfix.co.uk
Whole thread Raw
In response to postgres database file location  (Ramon Orticio <rporticio@yahoo.com>)
List 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 by date:

Previous
From: "A. Kretschmer"
Date:
Subject: Re: postgres database file location
Next
From:
Date:
Subject: Re: PostgreSQL 8.0.1-2 WinXP Services