We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
sanpii
Learn more about funding links in repositories.
Report abuse
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 PQconndefaults function actually seems to be returning an array of PQconninfoOption structures.
PQconndefaults
PQconninfoOption
As far as I can see, here, the code only considers the first element in the array, ignoring all others
libpq.rs/src/connection/info.rs
Line 105 in 2cc3094
As far as I can understand, it should return something similar to PQconninfoPars like here
PQconninfoPars
Line 28 in 2cc3094
See here: https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-PQCONNDEFAULTS
The text was updated successfully, but these errors were encountered:
e2e89cb
You right, thank you.
I depreciated the new function in favor of defaults who returns an array.
new
defaults
Sorry, something went wrong.
Retuns all PQconndefaults info
db091af
Fixes sanpii#45
No branches or pull requests
The
PQconndefaults
function actually seems to be returning an array ofPQconninfoOption
structures.As far as I can see, here, the code only considers the first element in the array, ignoring all others
libpq.rs/src/connection/info.rs
Line 105 in 2cc3094
As far as I can understand, it should return something similar to
PQconninfoPars
like herelibpq.rs/src/connection/info.rs
Line 28 in 2cc3094
See here: https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-PQCONNDEFAULTS
The text was updated successfully, but these errors were encountered: