Re: [SQL] Kind of Funny

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: fmorton(at)base2inc(dot)com (Frank Morton)
Cc: pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] Kind of Funny
Date: 1999-01-06 02:22:49
Message-ID: 199901060222.VAA20206@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> Not thinking, as I often tend to do, I created a table named "order"
> and was confused to find the following query does not work:
>
> select * from order;
>
> I recognize that my name selection is questionable, but shouldn't
> this still work?

No. Keywords are not over-loadable, as they are in Pascal, and to do it
is a real pain because the parser can't determine right away what it is.

--
Bruce Momjian | http://www.op.net/~candle
maillist(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-sql by date

  From Date Subject
Next Message Frank Morton 1999-01-06 02:26:47 Kind of Funny
Previous Message Pawel Pierscionek 1999-01-05 21:20:50 drop table in pgsql