Closed daurnimator closed 8 years ago
Misc note: closef_untrace
has to use relative indexes for everything except the file object itself due to idiosyncrasies in lua 5.1.
I updated the pull request to clean out the uservalue table in :finish()
as discussed on irc.
Can you look into merging this?
ping?
Hello?
Addresses issues in #23
PGconn
userdata so that it won't get collected if it leaves scope (which allows the nice pattern offunction enableTracing(conn, filename) local f = io.open(filename, 'w') conn:trace(f) end
The code became a bit bloated due to the different way file handles work in lua 5.1 combined with the coding style.