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

showing DETAIL of sql error message #1072

Open
kfirufk opened this issue Dec 28, 2022 · 0 comments
Open

showing DETAIL of sql error message #1072

kfirufk opened this issue Dec 28, 2022 · 0 comments
Labels
feature request New issue opened using "Feature request" template

Comments

@kfirufk
Copy link

kfirufk commented Dec 28, 2022

I'm using vscode 1.74.2 with SQLTools extension v0.26.0 with postgresql 15.

when I run a query that results in an error in psql it returns error output in several namespaces, for example in my case when i run a function that i created the returns wrong result type, it's divided to 3 sections:

ERROR:  structure of query does not match function result type
DETAIL:  Returned type numeric does not match expected type integer in column 11.
CONTEXT: SQL statement "..."

when I try to execute it i only see the error, the detail is important to understand exactly what went wrong

i tried looking at the sql console messages but it only shows the error as well.

am i missing something? is this something configurable ? if it was it looks like it should have been enabled my default

@kfirufk kfirufk added the feature request New issue opened using "Feature request" template label Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New issue opened using "Feature request" template
Projects
None yet
Development

No branches or pull requests

1 participant