mirror of https://github.com/postgres/postgres
If the function using yield to return rows fails halfway, the iterator stays open and subsequent calls to the function will resume reading from it. The fix is to unref the iterator and set it to NULL if there has been an error. Jan Urbańskipull/1/head
parent
8995440e38
commit
88047e59ba
Loading…
Reference in new issue