Re: Dollar in identifiers

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Dollar in identifiers
Дата
Msg-id Pine.LNX.4.30.0108161757360.677-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: Dollar in identifiers  (Thomas Lockhart <lockhart@fourpalms.org>)
Ответы Re: Dollar in identifiers  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Thomas Lockhart writes:

> Are dollar signs currently allowed in operators? I'd hate to reduce the
> allowed number of characters for operators.

They are, therefore identifiers couldn't start or end with a dollar in any
case.  However, single "$" operator cannot exist, so foo$bar wouldn't be
ambiguous, but the tendency to confuse it with an operator syntax would
reduce the readability of code greatly, IMO.  However, a $$ operator can
exist, so a construct like foo$$bar would parse completely differently,
leaving you with a big mess.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: Dollar in identifiers
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Patches (current CVS) for changes if index AM tables