Re: FORMAL VOTE ON =- and similar

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Andreas Zeugswetter <andreas(dot)zeugswetter(at)telecom(dot)at>, hackers(at)postgresql(dot)org
Subject: Re: FORMAL VOTE ON =- and similar
Date: 2000-06-09 21:55:25
Message-ID: 20791.960587725@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Can someone comment on this? Add to TODO?

Last I checked, SQL3 specifies -- and /*...*/ and nothing else.
I think we are in good shape on the comment front.

regards, tom lane

>> On Fri, 17 Mar 2000, Thomas Lockhart wrote:
>>>> Actually, I'd suggest we *remove* the "//" comment delimiters
>>>> altogether. We always had the "--" SQL92 delimiter, I added the "/*
>>>> ... */" so we could get a block delimiter of some sort (it is the same
>>>> aas in Ingres). I don't know what other DBMSes do, and we could define
>>>> something else instead if SQL3 or some other convention offers a
>>>> strong reason.
>>
>> I think the standard specifies the curly brackets as comment block characters.
>> I checked, and we do not have them :-(
>>
>> Example:
>> select { this is a comment } * from pg_class;
>>
>> Most (all that I know) other DB's have them.
>>
>> Andreas
>>

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-06-09 22:06:50 Re: Adding time to DATE type
Previous Message Keith Parks 2000-06-09 21:25:49 Install error current CVS