We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The current noticeReceiver and noticeProcessor use lua functions that may fail and longjmp out.
longjmp
One option is to lua_pcall out to a second function.
lua_pcall
lua_pcallk
Alternatively, only use functions that can't fail.
lua_rawgetp
lua_pushstring
lua_rawget
PGresult *
luaL_error
PQnoticeReceiver
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The current noticeReceiver and noticeProcessor use lua functions that may fail and
longjmp
out.One option is to
lua_pcall
out to a second function.lua_pcallk
)Alternatively, only use functions that can't fail.
lua_rawgetp
instead oflua_pushstring
+lua_rawget
PGresult *
luaL_error
PQnoticeReceiver
is by definition called for warnings or below, so it's not supposed to failThe text was updated successfully, but these errors were encountered: