Search Postgresql Archives

Re: ERROR: relative path not allowed for COPY to file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Taylor <andydtaylor@xxxxxxxxx> wrote:

> postgres=# COPY post_e_n

> postgres-# TO 'usr/local/psql/csv/post_e_n.csv'
> postgres-# WITH DELIMITER ','
> postgres-# CSV HEADER;
> ERROR:  relative path not allowed for COPY to file

I think you need a slash at the front of that path.

-Kevin


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux