Re: [SQL] Kind of Funny - Mailing list pgsql-sql

From Bruce Momjian
Subject Re: [SQL] Kind of Funny
Date
Msg-id 199901060222.VAA20206@candle.pha.pa.us
Whole thread Raw
In response to Kind of Funny  ("Frank Morton" <fmorton@base2inc.com>)
List 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@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

pgsql-sql by date:

Previous
From: "Frank Morton"
Date:
Subject: Kind of Funny
Next
From: Jin Hui
Date:
Subject: Bit Operators