Re: Dollar in identifiers

From: Gilles DAROLD <gilles(at)darold(dot)net>
To:
Cc: PostgreSQL HACKERS <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Dollar in identifiers
Date: 2001-08-16 08:20:46
Message-ID: 3B7B825E.13B7AACA@darold.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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...

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mathijs Brands 2001-08-16 09:24:14 Re: MS interview
Previous Message Tatsuo Ishii 2001-08-16 06:39:28 Re: encoding names