Replies: 5 comments 5 replies
-
Error Handling:I haven't checked if anything was implemented about it, but we had a discussion in #119 about error handling and how can the user react when a connection is terminated. @simolus3 suggested:
Messages:I noticed this is marked as an internal but if anyone is using streaming replication protocol, they need to use this API to send their own messages to the server: postgresql-dart/lib/src/client_messages.dart Lines 37 to 43 in c671d65 Another organizational note, maybe it'd make sense to move all the messages related p.s. Thanks for moving this forward with all the recent PRs. |
Beta Was this translation helpful? Give feedback.
-
After reading through the recent issues, I think that maybe the custom type converters could also be implemented for the v3 release: |
Beta Was this translation helpful? Give feedback.
-
Note: I had trouble adopting the planned custom type converters, mostly because of the v2 API was either incompatible or would have required a serious rewrite. Instead, I'm hiding the internals of type converters with #239 and with that we can go ahead with v3, remove the legacy v2 api in the 3.1 release, and then add custom type converters... |
Beta Was this translation helpful? Give feedback.
-
I've released I am planning to remove/hide or at least annotate |
Beta Was this translation helpful? Give feedback.
-
Note: published the 3.0.0 release. Thank you for all the contributions, nudges and I hope we have created a new baseline that will serve all of us well in the future. |
Beta Was this translation helpful? Give feedback.
-
I've released a new version: https://pub.dev/packages/postgres/versions/3.0.0-beta.1
I'm wondering if anybody has anything else that they wanted to land in the 3.0.0 release?
My last pondering is the
locality
parameter onrun
andrunTx
, whether it is named appropriately and should be a separate parameter as-is now. By default I'd leave as-is, but I'm open for any suggestions.Other than that, I have a few TODOs in the pool implementation for counting the queries (and expiring the connection if the limit is reached), and maybe expose latencies to the endpoint selection method, but those can be added much later, and may not be blocking for 3.0.0.
/cc @simolus3 @osaxma @insinfo @eseidel @slightfoot
Beta Was this translation helpful? Give feedback.
All reactions