Re: BUG #1269: Copy To Gives Relative path error when explicit path given.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "William Mayhew" <wmayhew3(at)hotmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1269: Copy To Gives Relative path error when explicit path given.
Date: 2004-09-26 00:36:05
Message-ID: 23857.1096158965@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org> writes:
> testdb=# COPY users TO 'D:\Program Files\PostgreSQL\DataFlatFiles\usersdata';
> ERROR: relative path not allowed for COPY to file

You need to double the backslashes. Or use forward slashes.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Fuhr 2004-09-26 03:08:27 Re: Permissions problem with sequences
Previous Message PostgreSQL Bugs List 2004-09-25 23:47:55 BUG #1269: Copy To Gives Relative path error when explicit path given.