Skip to content
New issue

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

postgres:query() does not return error as 2. parameter #139

Open
stuta opened this issue May 6, 2023 · 0 comments
Open

postgres:query() does not return error as 2. parameter #139

stuta opened this issue May 6, 2023 · 0 comments

Comments

@stuta
Copy link

stuta commented May 6, 2023

Documentation says:

-- return values for successful query
local result, err, num_queries = postgres:query("select name from users limit 2")

Function receive_query_result() returns result, num_queries, notifications, notices, it should be result, nil, num_queries, notifications, notices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant