10000 Add support for Postgres’ extension: SHOW · Issue #5916 · sqlfluff/sqlfluff · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add support for Postgres’ extension: SHOW #5916

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

Closed
8000 3 tasks done
jenstroeger opened this issue May 28, 2024 · 0 comments · Fixed by #6110
Closed
3 tasks done

Add support for Postgres’ extension: SHOW #5916

jenstroeger opened this issue May 28, 2024 · 0 comments · Fixed by #6110
Labels
enhancement New feature or request postgres Issues relating to the Postgres dialect

Comments

@jenstroeger
Copy link

Search before asking

  • I searched the issues and found no similar issues.

Description

Postgres documents and supports the SHOW command, which actually is a PG extension.

Using that command fails to parse:

== [test.sql] FAIL            
L:   9 | P:   1 |  PRS | Line 9, Position 1: Found unparsable section: 'SHOW
                       | datestyle;\n\n-- Setup\nINSERT INTO co...'
WARNING: Parsing errors found and dialect is set to 'postgres'. Have you configured your dialect correctly?
All Finished 📜 🎉!

Use case

Would be good if sqlfluff would be able to parse the SQL script and handle the command.

Dialect

Postgres.

Are you willing to work on and submit a PR to address the issue?

  • Yes I am willing to submit a PR!

Code of Conduct

@jenstroeger jenstroeger added the enhancement New feature or request label May 28, 2024
@github-actions github-actions bot added the postgres Issues relating to the Postgres dialect label May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request postgres Issues relating to the Postgres dialect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant
0