Re: Dollar in identifiers

Bruce Momjian <pgman@candle.pha.pa.us>

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Jan Wieck <JanWieck@yahoo.com>
Cc: Peter Eisentraut <peter_e@gmx.net>, PostgreSQL HACKERS <pgsql-hackers@postgresql.org>
Date: 2001-08-15T20:58:31Z
Lists: pgsql-hackers
> Peter Eisentraut wrote:
> > Jan Wieck writes:
> >
> > >     Could  you  live  with it when we don't allow a name to start
> > >     with a dollar, but allow the dollar inside or at the  end  of
> > >     the name?
> >
> > At the end would also be a problem because of parsing conflicts with
> > operators.  (E.g., foo$<$bar)  I don't really like this idea; we don't
> > have to follow all the nonsense of other people.
> 
>     I  allways  found  it bad coding style not to separate things
>     with whitespaces.  But that's just my opinion.

A bigger issue is how we handle future uses of $.  Because $ is such a
natural Unix use for environment variables and positional parameters, we
may fine a use for it some day.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026