(non)zero function - Mailing list pgsql-sql

From Enrico Weigelt
Subject (non)zero function
Date
Msg-id 20050327155807.GB16122@nibiru.borg.metux.de
Whole thread Raw
Responses Re: (non)zero function  (Bruno Wolff III <bruno@wolff.to>)
Re: (non)zero function  (Christian Kratzer <ck-lists@cksoft.de>)
List 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@metux.decellphone: +49 174 7066481
 
----------------------------------------------------------------------- DSL ab 0 Euro. -- statische IP -- UUCP --
Hosting-- Webshops --
 
---------------------------------------------------------------------


pgsql-sql by date:

Previous
From: Enrico Weigelt
Date:
Subject: detaching triggers
Next
From: Tom Lane
Date:
Subject: Re: Postgre: 8.0.1 Create Table insde a function gives strange error at execution time