Обсуждение: Old parser feature

Поиск
Список
Период
Сортировка

Old parser feature

От
"Thomas G. Lockhart"
Дата:
Hey, check it out:

postgres=> select case_tbl.*; i|    f
---+------3| 10.1-6| 20.2-9|-30.3
-12|
(4 rows)

Notes in the parser say this was allowed with POSTQUEL, so was retained
when implementing SQL...


Re: [HACKERS] Old parser feature

От
Bruce Momjian
Дата:
> Hey, check it out:
> 
> postgres=> select case_tbl.*;
>   i|    f
> ---+-----
>  -3| 10.1
>  -6| 20.2
>  -9|-30.3
> -12|
> (4 rows)
> 
> Notes in the parser say this was allowed with POSTQUEL, so was retained
> when implementing SQL...

Yes, nice feature.  QUEL allowed:
retrieve (case_tbl.all)

In fact, QUEL never had a FROM clause in the SQL sense.

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