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

Re: Infix Function?

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Peter Fein <pfein(at)pobox(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Infix Function?
Date: 2005-06-27 15:24:03
Message-ID: 20050627152403.GB18785@wolff.to (view raw or flat)
Thread:
Lists: pgsql-general
On Sun, Jun 26, 2005 at 15:42:25 -0500,
  Peter Fein <pfein(at)pobox(dot)com> wrote:
> 
> Is there anyway to create an infix version of this?  I'd really like be
> able to write (where a..d are some boolean conditions):

Use <>:
area=> select true <> false <> true;
 ?column?
----------
 f
(1 row)

area=> select false <> true <> false;
 ?column?
----------
 t
(1 row)

In response to

pgsql-general by date

Next:From: Bruno Wolff IIIDate: 2005-06-27 15:29:49
Subject: Re: Finding points within 50 miles
Previous:From: Vivek KheraDate: 2005-06-27 14:41:20
Subject: Re: Finding points within 50 miles

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