Re: Bug #786: simbols in relation names - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Bug #786: simbols in relation names
Date
Msg-id 6204.1033156550@sss.pgh.pa.us
Whole thread Raw
In response to Bug #786: simbols in relation names  (pgsql-bugs@postgresql.org)
List pgsql-bugs
pgsql-bugs@postgresql.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

pgsql-bugs by date:

Previous
From: Adam Doligalski
Date:
Subject: Nie ma mnie w biurze
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #787: Backup Files Output Constraints Before Functions