Re: blob load errors

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "jonerf1" <jonesrf1(at)qwest(dot)net>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: blob load errors
Date: 2002-10-15 21:11:14
Message-ID: 18544.1034716274@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

"jonerf1" <jonesrf1(at)qwest(dot)net> writes:
> DEBUG: query: INSERT INTO images
> HERE NEXT LINE SHORTENED UP
> VALUES('doss','\\377WPC^\\012\\000\\000\\001\\012\\002\\001\\000\\000\\000\\002\\005\\0\\000\\324')
>
> ERROR: pg_atoi: error in "doss": can't parse "doss"

It'd appear to me that the problem is the lack of a column name list
in this version of the INSERT command. The command is evidently
attempting to insert 'doss' into some integer column. The version
that you said worked called out the two column names explicitly
(and, I infer, skipped at least one integer column).

You should be trying to figure out why the column name list is
missing.

regards, tom lane

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bruce Momjian 2002-10-16 01:18:34 Re: Changing Column Order (Was Re: MySQL vs PostgreSQL.)
Previous Message lalit 2002-10-15 20:42:22 Support for javax.sql.DataSource ..