Re: Dollar in identifiers - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Dollar in identifiers
Date
Msg-id 200108171746.f7HHkR405156@candle.pha.pa.us
Whole thread Raw
In response to Re: Dollar in identifiers  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
> Tom Lane writes:
> 
> > Option 2 improves Oracle compatibility, at the price of breaking
> > backwards compatibility for applications that presently use $ as part
> > of multi-character operator names.  (But does anyone know of any?)
> 
> Hmm, postgresql-7.2devel_petere_privatebranch... :-(
> 
> Well, the Euro is already allowed in identifiers, so I rest.

OK, I will give my idea on this and people can make a decision.  

We have pulled over Oracle specific stuff when they added features to
our existing code.  In this case, we are addinng dollarsign to the
identifiers just for compability.  No one is saying, "Gee, I like to see
dollarsigns in my tablenames, and I can't do that."  They want it only
for compatibility.  

Now, I know we have accepted compatibility stuff when it was easy to do.
It is just that changing the identifiers we accept seems pretty major to
me.  However, if others think it isn't a big deal, I can go along with
it.

--  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,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: encoding names
Next
From: Peter Eisentraut
Date:
Subject: Progress report on locale safe LIKE indexing