ECPG cursor readahead

https://commitfest.postgresql.org/action/patch_view?id=1195
http://archives.postgresql.org/message-id/522B7130.8040006@cybertec.at