Re: Large Object => invalid input syntax for integer: "" - Mailing list pgsql-general

From Richard Huxton
Subject Re: Large Object => invalid input syntax for integer: ""
Date
Msg-id 42A459E8.1000609@archonet.com
Whole thread Raw
In response to Re: Large Object => invalid input syntax for integer: ""  (grupos <grupos@carvalhaes.net>)
List pgsql-general
grupos wrote:
> Hi Adam,
>
> I am sorry for the misunderstanding, when I compose the e-mail I forgot
> the '  '  on the 1 BUT the error is the same, I made:
> INSERT INTO test VALUES ('1')
>
> and I get the error:
> ERROR:  invalid input syntax for integer: ""
>
> I am sure that there is some problem with LO.

Hmm - works here (Linux, 7.4.7)

CREATE TABLE lotest4 (description varchar, picture lo) WITHOUT OIDS;
INSERT INTO lotest4 (description) VALUES ('1');
SELECT * FROM lotest4;
  description | picture
-------------+---------
  1           |

Are you sure table "test" looks like that?
--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: Richard_D_Levine@raytheon.com
Date:
Subject: Re: Fyracle?
Next
From: John Sidney-Woollett
Date:
Subject: Re: Download mirrors not found?