On 23/02/12 05:30, Matthias Leopold wrote: > how do i make a postgres plperl function return a value/row only when > certain conditions are met and otherwise return "nothing"/void/0 rows? > right now my function returns "1 row" even when i return undef.
Have you tried using your function in the WHERE clause of your SQL query? Peter