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

sql: better error messaging around CURSORs #35878

Open
BramGruneir opened this issue Mar 18, 2019 · 0 comments

Comments

@BramGruneir
Copy link
Member

@BramGruneir BramGruneir commented Mar 18, 2019

Right now, it just returns an error on the DECLARE:

ProgrammingError: syntax error at or near "declare"
DETAIL:  source SQL:
DECLARE "foo" CURSOR WITHOUT HOLD FOR select 1

This should point the user to #30352 (or a new issue), which itself also needs to be cleaned up.

@jordanlewis jordanlewis added this to Triage in SQL Execution Team Apr 23, 2019
@jordanlewis jordanlewis moved this from Triage to Lower priority backlog in SQL Execution Team May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
SQL Execution Team
  
Lower priority backlog
2 participants
You can’t perform that action at this time.