Trying to rewrite a plpgsql function in C. How do I do the equivalent of: FOR loc IN SELECT * FROM location ORDER BY objectid, intermine_start, intermine_end LOOP END LOOP; in a C function? Matthew -- I wouldn't be so paranoid if you weren't all out to get me!! -- Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance