That is a breaking change though relying on the old behavior was never really a good idea as you had no indication of which row came from which result-set.
Everything else should behave as it did before.
Additions:
Added result as a 2nd succes parameter to query callbacks. This more closely mimics node-postgres query result behavior and gives introspection into the fields returned with the query. This further helps disambiguate between multi-result-set columns.
Fixed bug which could make libpq cause the run-loop to block in certain multiple, large response reading scenarios or when a lot of errors were happening at once.
Upgrading to support multiple result-sets returned from a multi-command simple query.
Example:
That is a breaking change though relying on the old behavior was never really a good idea as you had no indication of which row came from which result-set.
Everything else should behave as it did before.
Additions:
result
as a 2nd succes parameter to query callbacks. This more closely mimics node-postgres query result behavior and gives introspection into the fields returned with the query. This further helps disambiguate between multi-result-set columns.