(non)zero function

From: Enrico Weigelt <weigelt(at)metux(dot)de>
To: pgsql-sql <pgsql-sql(at)postgresql(dot)org>
Subject: (non)zero function
Date: 2005-03-27 15:58:07
Message-ID: 20050327155807.GB16122@nibiru.borg.metux.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


Hi folks,

is there an function returning true if the argument is null or
zero (just to make some queries more concise). Of course its
trivial to implement as SQL function, but if postgresql already
provides such a function, I would prefer using it.

cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service

phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: contact(at)metux(dot)de
cellphone: +49 174 7066481
---------------------------------------------------------------------
-- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2005-03-27 16:01:42 Re: Postgre: 8.0.1 Create Table insde a function gives strange error at execution time
Previous Message Enrico Weigelt 2005-03-27 15:41:02 detaching triggers