Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some syntax not supported

See original GitHub issue

Possibly fixed by

select 1;

shows syntax errors for begin and commit.

PS: Your extension is awesome! I like the autocompletion, parameter and return type suggestions, and also being able to see multiple result sets at once.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

govindraicommented, Aug 13, 2020

The following valid sql statements show syntax errors: image image

Borvikcommented, Dec 3, 2021

Currently the error validation is powered by postgres itself by prepending each statement with an EXPLAIN and running that. Postgres itself is returning these errors.

EXPLAIN was not meant for CREATE/ALTER statements - but works good for SELECT statements.

However creating a whole parser that can do this analysis is tricky at best, but to also create one that can be kept up-to-date with the version of postgres anyone might be connected to… yeah… really not my forte (also this is a side-project I don’t really have a lot of time to work on)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Abstract Syntax not supported · Issue #591 - GitHub
Issue. Abstract Syntax not supported. I am trying to send a dicom from Horos to a StoreSCP implementation and I am encountering this...
Read more >
“The syntax is not supported by this runspace” error after ...
The syntax is not supported by this runspace. This can occur if the runspace is in no-language mode. Message 2. Exception occured System.Management.Automation....
Read more >
What are the SQL Server query syntax not supported by ...
I am not using any stored procedures, views, triggers, user defined functions, etc. But I think even then some queries written for SQL...
Read more >
Transfer Syntax missing during Query/Retrieve - Google Groups
We configured Orthanc to work as DICOM Server. The Store part working fine, but when performing Query/Retrieve we are facing problems. The Study ......
Read more >
Javascript syntax highlighting it not working
Go to Tools > Extensions and Updates > Installed. And look for "Visual Studio Extension for TextMate Grammars" and make sure it is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found