Skip site navigation (1) Skip section navigation (2)

More outdated examples

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: More outdated examples
Date: 2003-02-24 19:16:29
Message-ID: Pine.LNX.4.44.0302241908480.2108-100000@peter.localdomain (view raw or flat)
Thread:
Lists: 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(at)gmx(dot)net


Responses

pgsql-hackers by date

Next:From: Peter EisentrautDate: 2003-02-24 19:16:44
Subject: Possibly inconsistent type casting logic
Previous:From: Josh BerkusDate: 2003-02-24 18:39:15
Subject: Re: ILIKE

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group