|
|
||
|
Hi Mike
Your script worked fine with Postgres. I think the ODBC driver has more restrictions on open cursors... Anyway a future release of LuaSQL would have a modified `fetch' method which closes the cursor when there is no more rows to retrieve. I have modified the postgres driver to work that way but have not tested it properly. I think it wouldn't be difficult to modify the other drivers accordingly.
Regards, Tomás
Mike