| From: | Richard Huxton <dev(at)archonet(dot)com> |
|---|---|
| To: | grupos <grupos(at)carvalhaes(dot)net> |
| Cc: | Adam Witney <awitney(at)sgul(dot)ac(dot)uk>, pgsql-general <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Large Object => invalid input syntax for integer: "" |
| Date: | 2005-06-06 14:12:56 |
| Message-ID: | 42A459E8.1000609@archonet.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | John Sidney-Woollett | 2005-06-06 14:21:34 | Re: Download mirrors not found? |
| Previous Message | Tom Lane | 2005-06-06 14:08:33 | Re: Large Object => invalid input syntax for integer: "" |