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

Static analysis enhancement #72

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

danicc097
Copy link
Contributor

@danicc097 danicc097 commented Dec 1, 2022

What does this PR do?

Early draft for some updates to overall analysis:

  • plpgsqlLanguageServer.plpgsqlCheckSchema to allow using plpgsql_check extension installed on a different schema
  • migrations extracted to own service and run once for both syntax and static analysis.
  • add basic triggers static analysis
  • disable static validation per statement with --plpgsql-language-server:disable-static

What issues does this PR fix or reference?

Is it tested? How?

Basic tests added

@danicc097 danicc097 requested a review from yas7010uv as a code owner December 1, 2022 00:19
@danicc097 danicc097 force-pushed the static-analysis-enhancement branch from 6680828 to 9f10c01 Compare December 1, 2022 15:23
@danicc097 danicc097 force-pushed the static-analysis-enhancement branch 2 times, most recently from bbce009 to 43cf8d7 Compare December 1, 2022 16:12
@danicc097 danicc097 force-pushed the static-analysis-enhancement branch 2 times, most recently from ae9094a to eda953a Compare December 1, 2022 19:01
@danicc097 danicc097 force-pushed the static-analysis-enhancement branch from eda953a to 7052778 Compare December 1, 2022 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant