You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See DbDataSource.
Accept a DbDataSource in StoreOptions.Connection(), and use that for creating the connections instead of the connection-string.
Area: usability
This would also be useful for hosted scenarios, e.g. Azure PostgreSQL flexible server, where authentication is done via "Managed Identities" and the access-token needs to be refreshed.
PS: I'd like to contribute to these improvements (at the moment I'm quite busy, but starting with next year I think to have to time in order to dive into this)
The text was updated successfully, but these errors were encountered:
@jeremydmiller sure, thanks for moving this forward. I try (and like) to help where I can.
Side note: ATM I'm working on a larger project with Marten 6.x, and when things in that project stabilize I'll give Marten 7-prereleases a try to see how it goes in production.
Npgsql offers some new features that should be considered in Marten / evaluated for use in Marten.
Parameters w/ positional placeholders
See Positional and named placeholders.
Area: perf-optimization, as Npgsql doesn't need to rebuild the SQL to substitute the named parameters with the PostgreSQL expected positional ones.
Available since Npgsql 6.
Batch API
Cf. #2424 and Raw SQL mode and new batching API
Area: perf-optimization
DbDataSource and NpgsqlDataSourceBuilder
See DbDataSource.
Accept a
DbDataSource
inStoreOptions.Connection()
, and use that for creating the connections instead of the connection-string.Area: usability
This would also be useful for hosted scenarios, e.g. Azure PostgreSQL flexible server, where authentication is done via "Managed Identities" and the access-token needs to be refreshed.
For reference: #2550 mentions that point too.
PS: I'd like to contribute to these improvements (at the moment I'm quite busy, but starting with next year I think to have to time in order to dive into this)
The text was updated successfully, but these errors were encountered: