View Single Post

   
  #2 (permalink)  
Old 04-17-2008, 09:43 PM
Tom Lane
 
Posts: n/a
Default Re: How to use the COPY command

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

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Reply With Quote