Re: [GENERAL] Large Object => invalid input syntax for integer: ""

2005-06-06 Thread Sean Davis
- Original Message - From: "Adam Witney" <[EMAIL PROTECTED]> To: "grupos" <[EMAIL PROTECTED]>; "pgsql-general" Sent: Monday, June 06, 2005 8:17 AM Subject: Re: [GENERAL] Large Object => invalid input syntax for integer: "" On

Re: [GENERAL] Large Object => invalid input syntax for integer: ""

2005-06-06 Thread Richard Huxton
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.

Re: [GENERAL] Large Object => invalid input syntax for integer: ""

2005-06-06 Thread Tom Lane
grupos <[EMAIL PROTECTED]> writes: > I need to use large objects BUT I am having problemns... I instaled > PostgreSQL 8.0.3 windows version with lo module. > first, I created the table below: > CREATE TABLE test > ( > description varchar(20), > picture lo > ) > WITHOUT OIDS; > After trying t

Re: [GENERAL] Large Object => invalid input syntax for integer: ""

2005-06-06 Thread FERREIRA, William (COFRAMI)
t;toto", 0) -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de grupos Envoyé : lundi 6 juin 2005 15:28 À : Douglas McNaught Cc : pgsql-general@postgresql.org Objet : Re: [GENERAL] Large Object => invalid input syntax for integer: "" Hi Doug

Re: [GENERAL] Large Object => invalid input syntax for integer: ""

2005-06-06 Thread grupos
Hi Douglas, Thanks for your promptly answer. Here is the "step by step": CREATE TABLE test ( description varchar(20), picture lo ) WITHOUT OIDS; INSERT INTO test (description) VALUES ('1'); And then, the error : INSERT INTO test (description) VALUES ('1') What I am trying to do is insert d

Re: [GENERAL] Large Object => invalid input syntax for integer: ""

2005-06-06 Thread Douglas McNaught
grupos <[EMAIL PROTECTED]> writes: > 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 th

Re: [GENERAL] Large Object => invalid input syntax for integer: ""

2005-06-06 Thread Douglas McNaught
grupos <[EMAIL PROTECTED]> writes: > Hi Doug! > > Thanks for your e-mail BUT the point is how I insert data on a table > when the column lo have no value ( NULL), to insert the lo I have no > problem BUT the problem is when the column should have no value... If the "lo" field isn't NOT NULL than

Re: [GENERAL] Large Object => invalid input syntax for integer: ""

2005-06-06 Thread grupos
Hi Doug! Thanks for your e-mail BUT the point is how I insert data on a table when the column lo have no value ( NULL), to insert the lo I have no problem BUT the problem is when the column should have no value... Regards, Rodrigo Carvalhaes Douglas McNaught wrote: grupos <[EMAIL PROTECTE

Re: [GENERAL] Large Object => invalid input syntax for integer: ""

2005-06-06 Thread grupos
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. Regards, Rodri

Re: [GENERAL] Large Object => invalid input syntax for integer: ""

2005-06-06 Thread Douglas McNaught
grupos <[EMAIL PROTECTED]> writes: > I need to use large objects BUT I am having problemns... I instaled > PostgreSQL 8.0.3 windows version with lo module. > > first, I created the table below: > CREATE TABLE test > ( > description varchar(20), > picture lo > ) > WITHOUT OIDS; > > After trying

Re: [GENERAL] Large Object => invalid input syntax for integer: ""

2005-06-06 Thread Adam Witney
On 6/6/05 4:58 am, "grupos" <[EMAIL PROTECTED]> wrote: > I need to use large objects BUT I am having problemns... I instaled > PostgreSQL 8.0.3 windows version with lo module. > > first, I created the table below: > CREATE TABLE test > ( > description varchar(20), > picture lo > ) > WITHOUT OIDS;

[GENERAL] Large Object => invalid input syntax for integer: ""

2005-06-06 Thread grupos
I need to use large objects BUT I am having problemns... I instaled PostgreSQL 8.0.3 windows version with lo module. first, I created the table below: CREATE TABLE test ( description varchar(20), picture lo ) WITHOUT OIDS; After trying to make one insert without value for the lo I get the err