> -----Original Message-----
> From: pgsql-general-owner@postgresql.org
> [mailto:pgsql-general-owner@postgresql.org]On Behalf Of Stephan Szabo
> Sent: Friday, May 24, 2002 12:15 AM
> To: Alan Wayne
> Cc: Jean-Michel POURE; pgsql-general
> Subject: Re: [GENERAL] Help with "empty()"
>
> I'd have suggested writing empty functions for various
> types, empty(boolean), empty(int4), empty(float8),
> empty(text) and using those. You could probably even
> just do them as sql functions.
Yep. Though, since they're compiled, plpgsql functions are faster than SQL
functions. Don't forget to mark them as isCachable, too.
- J.
Joel BURTON | joel@joelburton.com | joelburton.com | aim: wjoelburton
Knowledge Management & Technology Consultant