PostgreSQL: Call a Stored Procedure for Every Row