Re: Dollar in identifiers

Поиск
Список
Период
Сортировка
От Gilles DAROLD
Тема Re: Dollar in identifiers
Дата
Msg-id 3B7B825E.13B7AACA@darold.net
обсуждение исходный текст
Ответ на Re: Dollar in identifiers  (Jan Wieck <JanWieck@Yahoo.com>)
Ответы Re: Dollar in identifiers  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Alessio Bragadini
Дата:
Сообщение: Re: Why is SERIAL a keyword?
Следующее
От: Mathijs Brands
Дата:
Сообщение: Re: MS interview