Alvaro Herrera wrote: > Tom Lane wrote: > > (If I were tasked with fixing it, I'd be tempted to rewrite it to do > > all the work in one call and return a tuplestore; the alternative > > seems to be to try to keep the index open across multiple calls, > > which would be a mess.) > > Here's a patch doing that.
Pushed, thanks. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers