Re: text(bool) not defined

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Dave Blasby <dblasby(at)refractions(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: text(bool) not defined
Date: 2001-10-09 22:35:11
Message-ID: Pine.LNX.4.30.0110100034440.672-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dave Blasby writes:

> I've noticed that text(bool) isnt a defined function (nor does
> 'true'::bool::text work).

case when value then 'answer if true' else 'answer if false' end

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2001-10-09 22:35:25 EXTRACT broken
Previous Message Dave Blasby 2001-10-09 20:37:06 text(bool) not defined