Re: [SQL] parse bug

2002-11-12 Thread Achilleus Mantzios
On Mon, 11 Nov 2002 [EMAIL PROTECTED] wrote: > > seems like an error in the sql parser to me: > > # create table test (acol smallint[]); > CREATE > # insert into test (acol) values ('{ 0 }'); > ERROR: pg_atoi: error in "0 ": can't parse " " > # insert into test (acol) values ('{ 0}'); > INSERT 28

[SQL] parse bug

2002-11-12 Thread floyds
seems like an error in the sql parser to me: # create table test (acol smallint[]); CREATE # insert into test (acol) values ('{ 0 }'); ERROR: pg_atoi: error in "0 ": can't parse " " # insert into test (acol) values ('{ 0}'); INSERT 28472 1 the only difference is the trailing " " after the 0;