From: | John Gotts <jgotts(at)ww2(dot)tqstats(dot)com> |
---|---|
To: | "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: SQL INSERT bug with 6.5.3 and 7.0.2 |
Date: | 2000-06-26 01:32:34 |
Message-ID: | 200006260132.VAA21854@ww2.tqstats.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
In message <200006252355(dot)e5PNtKe18458(at)linda(dot)lfix(dot)co(dot)uk>, "Oliver Elphick" write
s:
>John Gotts wrote:
> >We're experiencing a problem with the parser with both 6.5.3 and 7.0.2.
> >ERROR: parser: parse error at or near "position"
> >fmfts=# insert into contact_people (user_id,name,"position",email_address)
>v
> >alues ('jgotts','hello',null,null);
> >INSERT 20402 1
> >
> >The problem also appears with libpq.
> >
> >Any idea why this would occur?
>POSITION is a SQL reserved word.
>e.g.:
>SELECT POSITION ('bc' IN 'abcd');
> strpos
>--------
> 2
>(1 row)
Shouldn't the parser then also reject "position"?
John
--
John GOTTS <jgotts(at)linuxsavvy(dot)com> http://www.linuxsavvy.com/staff/jgotts
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2000-06-26 03:21:16 | Re: SQL INSERT bug with 6.5.3 and 7.0.2 |
Previous Message | John Gotts | 2000-06-25 23:57:55 | Re: SQL INSERT bug with 6.5.3 and 7.0.2 |