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.PostgresException:42601 : at or near "schemaname": syntax error. Detail redacted as it may contain sensitive data (Error getting while calling Stored procedure from .Net core 8.0 used Npgsql.EntityframeworkCore.PostgreSQL. #3212

Open
SpandhanaKandukuri opened this issue Jun 26, 2024 · 2 comments

Comments

@SpandhanaKandukuri
Copy link

No description provided.

@SpandhanaKandukuri
Copy link
Author

I am working on a project where i am connecting to CockRoachDB Procedure using .Net Core 8.0 along with Npgsql.EntityFrameworkCore.PostgrSQL. I have written logic to call procedure but while execute "var datareader = await cmd.ExecuteReaderAsync(). i am getting above error syntax error. I am not able to figure out the issue and Could you please provide me any source code file or repositories connecting to "CockroachDb" using .net core and Entityframeowrk core

@SpandhanaKandukuri SpandhanaKandukuri changed the title Npgsql.PostgresException:42601 : at or near "schemaname": syntax error. Npgsql.PostgresException:42601 : at or near "schemaname": syntax error. Detail redacted as it may contain sensitive data (Error getting while calling Stored procedure from .Net core 8.0 used Npgsql.EntityframeworkCore.PostgreSQL. Jun 26, 2024
@roji
Copy link
Member

roji commented Jun 27, 2024

You're going to have to provide more detail than that - opening an issue with just an exception message isn't enough. Please post at least the LINQ query and SQL (from the logging), or preferably isolate the issue down to a minimal, runnable console program.

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

No branches or pull requests

2 participants