--- Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Low Kian Seong <postgresql_low@yahoo.com> writes:
> > How do I use the copy command to copy a whole
> database
> > onto a system file so that i can use the createdb
> with
> > the -T flag to re-create the database on another
> > system ?
>
> I think you are looking for pg_dump, not COPY.
>
> regards, tom lane
>
When I use pg_dump, it complaints when i try to do
this :
createdb dbname -T /path/to/dump/file
What must the format of the dump file be in order for
the above command to work ?
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail