From: | John Gotts <jgotts(at)ww2(dot)tqstats(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | SQL INSERT bug with 6.5.3 and 7.0.2 |
Date: | 2000-06-25 21:55:40 |
Message-ID: | 200006252155.RAA31000@ww2.tqstats.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
We're experiencing a problem with the parser with both 6.5.3 and 7.0.2.
The following is with 7.0.2. 6.5.3 is similar.
umpire(rc3.d)% psql -u fmfts
psql: Warning: The -u option is deprecated. Use -U.
...
fmfts=# CREATE TABLE "contact_people" (
fmfts(# "user_id" character(30),
fmfts(# "account_id" character(30),
fmfts(# "exchange_id" character(30),
fmfts(# "isin_code" character(30),
fmfts(# "symbol" character(30),
fmfts(# "name" character(30),
fmfts(# "position" character(30),
fmfts(# "email_address" character(30));
CREATE
fmfts=# insert into contact_people (user_id,name,position,email_address) values ('jgotts','hello',null,null);
ERROR: parser: parse error at or near "position"
fmfts=# insert into contact_people (user_id,name,"position",email_address) values ('jgotts','hello',null,null);
INSERT 20402 1
The problem also appears with libpq.
Any idea why this would occur?
John
--
John GOTTS <jgotts(at)linuxsavvy(dot)com> http://www.linuxsavvy.com/staff/jgotts
From | Date | Subject | |
---|---|---|---|
Next Message | Oliver Elphick | 2000-06-25 23:55:20 | Re: SQL INSERT bug with 6.5.3 and 7.0.2 |
Previous Message | felix | 2000-06-25 21:39:50 | Insert into a table with only a SERIAL |