More outdated examples - Mailing list pgsql-hackers

From Peter Eisentraut
Subject More outdated examples
Date
Msg-id Pine.LNX.4.44.0302241908480.2108-100000@peter.localdomain
Whole thread Raw
Responses Re: More outdated examples  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Darko Prenosil
Date:
Subject: I cant find it or I'm just lazy ?
Next
From: Peter Eisentraut
Date:
Subject: Possibly inconsistent type casting logic