Repository navigation
Port to Npgsql 8.0.0-rc.2 - #21
Conversation
|
The npgsql8-v2 branch is a bit behind master, but it looks like these changes will still merge cleanly. |
|
Hi @roji, thanks for the PR. I don't plan to do more work for Npgsql 8 until the final release, so will revisit this then. |
|
@ankane are you saying you won't be publishing an 8.0 prerelease package? As I wrote above, we're working on some demos to show off pgvector which depend on 8.0; if no version will be available we'll likely need to switch to another vector database (which would be a shame, PG+pgvector is a great combination for what we have in mind). Just FYI I'll be happy to take on any work needed to make this happen. |
|
I typically don't do pre-release versions, but will make an exception. Can you use master as the target branch (for this and any other PRs for 0.2.0-rc.1)? Also, please make sure |
|
We really appreciate it @ankane !! |
|
@ankane thanks, will do! |
|
@ankane rebase on top of master. |
|
Thanks, will try to get this merged later tonight. A few questions:
|
This is something we also currently have in Npgsql-bundled plugins - there's some last pending work for 8.0. This isn't critical - it's about in general allowing the user to not opt into Npgsql array support, in order to reduce binary size when building with NativeAOT (NativeAOT support is a big feature being delivered for 8.0, and is the primary reason for the plugin API changes in the first place). Bottom line, this isn't really important - we can very well ship with this TODO; the only effect would be a tiny bit bigger binary for users who don't use PG arrays.
There are some changes I'd recommend around the Vector type:
I'm happy to do a PR for these as well, if you're OK with them. But otherwise there's nothing I'm aware of.
No, not at the moment - there's support for storage parameters for tables, but not for indexes. If this is important I can add this to the provider 8.0 - let me know. |
|
Thanks for the additional context on arrays. One other change we discussed was equality (if you want to submit a PR - otherwise, I can take a look at it). Storage parameters for indexes would be great for users (setting |
Submitted #22, let's discuss there.
Opened npgsql/efcore.pg#2899 to track, will give this priority for 8.0. |
|
Great, thanks @roji |
|
Just published 0.2.0-rc.1 for both Pgvector and Pgvector.EntityFrameworkCore. Let me know if anything else comes up. |
@ankane here's a PR porting pgvector-dotnet to run against 8.0.0-rc.2 versions of Npgsql and the EF provider, which were released today.
We are building some experiments/demos which would greatly benefit from this; so if possible, a prerelease nuget package for this would be greatly appreciated!