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

feat: publish a Go function corresponding to pg_query_scan #43

Merged
merged 1 commit into from
Jun 28, 2021

Conversation

SKalt
Copy link
Contributor

@SKalt SKalt commented Jun 6, 2021

Publishing Scan(input string) (*ScanResult, error) would let users access *ScanResults.

I only added smoke tests for this function since I figured the core functionality (tokenization) was covered by the test suite in libpg_query.

Would close #42.

Copy link
Member

@lfittl lfittl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks for the contribution!

@lfittl lfittl merged commit ee7bb71 into pganalyze:main Jun 28, 2021
@SKalt SKalt deleted the issue-42/expose-pg_query_scan branch June 29, 2021 16:35
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.

feature request: expose pg_query_scan as a go function
2 participants