"Oliver Elphick" <[EMAIL PROTECTED]> writes: > psql:x.sql:13: pqReadData() -- backend closed the channel unexpectedly. This is the already-fixed-in-7.1.2 problem with empty SELECTs in plpgsql. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])