"Niblett, David A" <niblettda(at)gru(dot)com> writes:
> Is there no way in Postgres that I can simply not return
> anything so I show zero rows?
Make the function return SETOF myrec not just myrec. Then you
can return zero or one (or more) myrec's.
regards, tom lane