Re: More outdated examples

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: More outdated examples
Дата
Msg-id 200303171938.h2HJcR317134@candle.pha.pa.us
обсуждение исходный текст
Ответ на More outdated examples  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: More outdated examples
Список pgsql-hackers
I can find no suitable replacement for this example.  Can anyone else?

---------------------------------------------------------------------------

Peter Eisentraut wrote:
> This example in User's Guide section 7.2 doesn't work anymore at all:
> 
> tgl=> select @ text '-4.5' as "abs";
>  abs
> -----
>  4.5
> (1 row)
> 
> What really happens is this:
> 
> => select @ text '-4.5' as "abs";
> ERROR:  Unable to identify a prefix operator '@' for type 'text'
>         You may need to add parentheses or an explicit cast
> 
> Again, delete or new example?
> 
> -- 
> Peter Eisentraut   peter_e@gmx.net
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: request for sql3 compliance for the update command
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Possibly inconsistent type casting logic