Add PostgreSQL CREATE/ALTER TEXT SEARCH DDL Parsing#2250
Open
LucaCappelletti94 wants to merge 3 commits intoapache:mainfrom
Open
Add PostgreSQL CREATE/ALTER TEXT SEARCH DDL Parsing#2250LucaCappelletti94 wants to merge 3 commits intoapache:mainfrom
CREATE/ALTER TEXT SEARCH DDL Parsing#2250LucaCappelletti94 wants to merge 3 commits intoapache:mainfrom
Conversation
Introduce AST structures for CREATE/ALTER TEXT SEARCH object types\n(dictionary, configuration, template, parser), including display\nimplementations, statement variants, From conversions, and span wiring.
Add parser support for CREATE/ALTER TEXT SEARCH DICTIONARY,\nCONFIGURATION, TEMPLATE, and PARSER forms, including operation-specific\nALTER clauses and strict CREATE option parsing.\n\nRegister text-search object names as parser keywords and reject unsupported\nCREATE modifiers for text-search objects.
Add regression coverage for the provided CREATE/ALTER TEXT SEARCH\nstatements and guardrails for rejected forms (quoted object type,\nmissing key/value option syntax, and unsupported CREATE modifiers).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds parser and AST support for PostgreSQL text search DDL statements:
CREATE TEXT SEARCH DICTIONARY ...CREATE TEXT SEARCH CONFIGURATION ...CREATE TEXT SEARCH TEMPLATE ...CREATE TEXT SEARCH PARSER ...ALTER TEXT SEARCH DICTIONARY ...ALTER TEXT SEARCH CONFIGURATION ...ALTER TEXT SEARCH TEMPLATE ...ALTER TEXT SEARCH PARSER ...The work also adds focused regression coverage for previously failing cases.