Re: How to use the COPY command

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Low Kian Seong <postgresql_low(at)yahoo(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-novice(at)postgresql(dot)org
Subject: Re: How to use the COPY command
Date: 2005-04-19 11:44:28
Message-ID: 20050419114428.GC10314@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Mon, Apr 18, 2005 at 23:48:38 -0700,
Low Kian Seong <postgresql_low(at)yahoo(dot)com> wrote:
>
> When I use pg_dump, it complaints when i try to do
> this :
>
> createdb dbname -T /path/to/dump/file

You don't use createdb to restore databases from dump files.
You use psql for text dumps and pg_restore for binary dumps.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message George Weaver 2005-04-19 13:06:46 Re: Windows XP PostgreSQL usage
Previous Message Low Kian Seong 2005-04-19 06:48:38 Re: How to use the COPY command