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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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