Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group