aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-01-18 23:22:37 +0200
committerPeter Eisentraut <peter_e@gmx.net>2011-01-18 23:22:37 +0200
commit88047e59ba12479ef9adcaf3dee61b48566ce6eb (patch)
tree81de5b15c8804528371c29d8f696c450283eb22d /src/backend/access/gist
parent8995440e387846261d18e728f11adc528ccc5c1b (diff)
downloadpostgresql-88047e59ba12479ef9adcaf3dee61b48566ce6eb.tar.gz
postgresql-88047e59ba12479ef9adcaf3dee61b48566ce6eb.zip
Fix an error when a set-returning function fails halfway through the execution
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Ƅski
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions