Re: Dollar in identifiers - Mailing list pgsql-hackers

From Gilles DAROLD
Subject Re: Dollar in identifiers
Date
Msg-id 3B7B825E.13B7AACA@darold.net
Whole thread Raw
In response to Re: Dollar in identifiers  (Jan Wieck <JanWieck@Yahoo.com>)
Responses Re: Dollar in identifiers
List pgsql-hackers
Hi,

Dollar in identifier is currently working, you just have to doublequote the
identifier.

create table "foo$" (   "foo$" int4
);

select * from "foo$";
select "foo$" from "foo$";

works just fine. Or

create table "$foo" (   "$foo" int4
);

select * from "$foo";
select "$foo" from "$foo";

also works.

Perhaps it may be some problems with pl/pgsql, not tested...





pgsql-hackers by date:

Previous
From: Alessio Bragadini
Date:
Subject: Re: Why is SERIAL a keyword?
Next
From: Mathijs Brands
Date:
Subject: Re: MS interview