Skip to content

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

Closed
amotl wants to merge 1 commit into
mainfrom
npgsql-cratedb
Closed

Npgsql: Use Npgsql.CrateDB instead of vanilla Npgsql#776
amotl wants to merge 1 commit into
mainfrom
npgsql-cratedb

Conversation

@amotl

@amotl amotl commented Dec 18, 2024

Copy link
Copy Markdown
Contributor

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

amotl commented Dec 19, 2024

Copy link
Copy Markdown
Contributor Author

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