arcapos / luapgsql

Lua binding for PostgreSQL
108 stars 24 forks source link

Prevent segfaults when using :trace() #24

Closed daurnimator closed 8 years ago

daurnimator commented 9 years ago

Addresses issues in #23

The code became a bit bloated due to the different way file handles work in lua 5.1 combined with the coding style.

daurnimator commented 9 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.

daurnimator commented 9 years ago

I updated the pull request to clean out the uservalue table in :finish() as discussed on irc.

daurnimator commented 9 years ago

Can you look into merging this?

daurnimator commented 9 years ago

ping?

mhenrixon commented 8 years ago

Hello?