Kovacs Zoltan <kovacsz@pc10.radnoti-szeged.sulinet.hu> 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