Log Message:
-----------
Implement __iter__ per IP and fix regression on 8.0.
(Just use the 8.1 code instead of pg_rewrite_queries).
Modified Files:
--------------
be/src:
query.c (r1.13 -> r1.14)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/query.c.diff?r1=1.13&r2=1.14)