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

Provider better feedback for error messages for PostgreSQL #472

Open
rchamorro opened this issue Sep 15, 2023 · 0 comments
Open

Provider better feedback for error messages for PostgreSQL #472

rchamorro opened this issue Sep 15, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request GA GA item Release-v1.0 GA release

Comments

@rchamorro
Copy link

rchamorro commented Sep 15, 2023

Is your feature request related to a problem? Please describe.
When I run a query and it has a syntax error the error message returned does not give enough feedback to fix the problem.

For example:

syntax error at or near "."`

There may be have hundreds of "." in my script so I don't know how to fix the problem..

Describe the solution or feature you'd like
Return the line number and the position of the error.

For example, in pgAdmin:

> ERROR:  syntax error at or near "."
> LINE 6: cups.name as cups, cups p.cnae
>                                  ^ 

Describe alternatives you've considered
Use pgAdmin for debugging postgresql problems.

Additional context
It is a PostgreSQL database. I have not tried with other database types.

@cssuh cssuh added the enhancement New feature or request label Sep 15, 2023
@cheenamalhotra cheenamalhotra transferred this issue from microsoft/azuredatastudio Sep 18, 2023
@nasc17 nasc17 added the GA GA item label Sep 22, 2023
@nasc17 nasc17 self-assigned this Sep 26, 2023
@nasc17 nasc17 added the Release-v1.0 GA release label Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request GA GA item Release-v1.0 GA release
Projects
None yet
Development

No branches or pull requests

3 participants