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

Re: using psql copy command

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David(dot)Bear(at)asu(dot)edu
Cc: postgresql(at)moroni(dot)pp(dot)asu(dot)edu, pgsql-admin(at)postgresql(dot)org
Subject: Re: using psql copy command
Date: 2004-11-09 00:01:33
Message-ID: 12087.1099958493@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
David Bear <David(dot)Bear(at)asu(dot)edu> writes:
> npcenter=> \copy "contactName" from "/home/iddwb/data/copp/dev/npcenter/contactName.txt"
> "/home/iddwb/data/copp/dev/npcenter/contactName.txt": No such file or
> directory

> I must be missing something very obvious.. Help...

Use single quotes, or none at all, around the filename.

			regards, tom lane

In response to

pgsql-admin by date

Next:From: Francisco Jose Bernabe PellicerDate: 2004-11-09 11:44:44
Subject: Where is postgresql??
Previous:From: Tom LaneDate: 2004-11-08 23:57:58
Subject: Re: [PERFORM] poor performance in migrated database

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