parse bug - Mailing list pgsql-sql

From floyds@4peakstech.com
Subject parse bug
Date
Msg-id NDBBKEGJICMIMJHJEBCOGEJEFMAA.floyds@4peakstech.com
Whole thread Raw
Responses Re: parse bug  (Achilleus Mantzios <achill@matrix.gatewaynet.com>)
List pgsql-sql
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;


Regards,

Floyd Shackelford
4 Peaks Technology Group, Inc.
VOICE: 334.735.9428
FAX:   916.404.7125
EMAIL: FloydS@4PeaksTech.com
ICQ #: 161371538

acta non verba




pgsql-sql by date:

Previous
From: karthickv@hclp.com (karthick v)
Date:
Subject: Output of function into a file
Next
From: Cédric Dufour
Date:
Subject: Efficient ON DELETE trigger when referential integrity is involved ?