Re: More outdated examples

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: More outdated examples
Date: 2003-03-17 19:38:27
Message-ID: 200303171938.h2HJcR317134@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-03-17 19:43:14 Re: Possibly inconsistent type casting logic
Previous Message Bruce Momjian 2003-03-17 18:49:54 Re: request for sql3 compliance for the update command