Lists: | pgsql-bugs |
---|
From: | pgsql-bugs(at)postgresql(dot)org |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Bug #786: simbols in relation names |
Date: | 2002-09-27 19:01:27 |
Message-ID: | 20020927190127.24B62477115@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
Andrew Shubas (andrew(dot)shubas(at)pathcom(dot)com) reports a bug with a severity of 4
The lower the number the more severe it is.
Short Description
simbols in relation names
Long Description
Good afternoon!
We use chars as ':' ,or '=' ,or similar in the relations - views - names. Problem is that in the psql doing select from such views into the record i can't use relation names if that contains such chars as described. If i write something like rec."Name:i:20" i get an "ERROR: unterminated " in name rec."Name".
Thanks and have a nice weekend!
Andrew.
Sample Code
No file was uploaded with this report
From: | Adam Doligalski <drsky(at)atm(dot)com(dot)pl> |
---|---|
To: | andrew(dot)shubas(at)pathcom(dot)com, pgsql-bugs(at)postgresql(dot)org |
Subject: | Nie ma mnie w biurze |
Date: | 2002-09-27 19:04:36 |
Message-ID: | E17v0Pk-000INl-00@merkury.atm.com.pl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
W dniu dzisiejszym jestem na urlopie.
Jesli sa jakies sprawy nie cierpiace zwloki - prosze skontaktowac sie ze mna pod numerem telefonu 607225738.
Adam Doligalski
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | andrew(dot)shubas(at)pathcom(dot)com, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: Bug #786: simbols in relation names |
Date: | 2002-09-27 19:55:50 |
Message-ID: | 6204.1033156550@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
pgsql-bugs(at)postgresql(dot)org writes:
> We use chars as ':' ,or '=' ,or similar in the relations - views -
> names. Problem is that in the psql doing select from such views into
> the record i can't use relation names if that contains such chars as
> described. If i write something like rec."Name:i:20" i get an "ERROR:
> unterminated " in name rec."Name".
Can't reproduce that here ...
test72=# create table rec ("Name:i:20" int);
CREATE
test72=# insert into rec values(22);
INSERT 147932 1
test72=# select rec."Name:i:20" from rec;
Name:i:20
-----------
22
(1 row)
Can you give a complete example? And mention what version you're using?
regards, tom lane