Skip to content
New issue

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

Npgsql: Use Npgsql.CrateDB instead of vanilla Npgsql #776

Closed
wants to merge 1 commit into from

Conversation

amotl
Copy link
Member

@amotl amotl commented Dec 18, 2024

About

Probing better type support for Npgsql, or even trying to build it.

Status

I don't know why dotnet test succeeds test runs in conditions I would expect it to fail. Anyway, on .NET 8, it just errors out like

    /path/to/cratedb-examples/by-language/csharp-npgsql/tests/DemoProgramTest.cs(25): error TESTERROR:
      demo.tests.DemoProgramTest.TestSystemQueryExample (1ms): Error Message: Class fixture type 'demo.tests.DatabaseFixture' threw in its constructor
      ---- Npgsql.NpgsqlException : Unknown message code: 0

Npgsql.CrateDB is outdated, as expected, and we need to investigate if it would yield a positive outcome if it would be resurrected.

@amotl
Copy link
Member Author

amotl commented Dec 19, 2024

Closing this in favor of GH-777: Npgsql 8.x and 9.0 provide good support for mapping CrateDB's special data types to relevant types in .NET/Npgsql.

@amotl amotl closed this Dec 19, 2024
@amotl amotl deleted the npgsql-cratedb branch December 19, 2024 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant