Jon,
> I always put security definer as I really think that should be the
> default behavior. Anyway, your function should run faster.
That's not a real good idea. A security definer function is like an SUID
shell script; only to be used with great care.
--
--Josh
Josh Berkus
PostgreSQL @ Sun
San Francisco