Kovacs Zoltan <[EMAIL PROTECTED]> writes: > If the WHERE clause doesn't contain any input parameters (i.e. $1), I > don't get into any trouble. Is this the known bug with failure if the SELECT returns zero rows? regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html