Re: COPY problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Varun Kacholia <varunk(at)cse(dot)iitb(dot)ac(dot)in>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: COPY problem
Date: 2002-06-22 21:55:23
Message-ID: 4865.1024782923@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Varun Kacholia <varunk(at)cse(dot)iitb(dot)ac(dot)in> writes:
> The command works when used from the psql prompt but gives the following
> error when called using perl.

> ERROR: parser: parse error at or near ".9"

This sure looks like the contents of the data file are being fed to the
main SQL parser (and not the COPY code at all). Perhaps Perl is doing
some sort of weird interpolation on your command string?

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-06-22 21:59:01 Re: SQL server application porting headache
Previous Message Tom Lane 2002-06-22 21:48:08 Re: Optimizing suggestions