René's URL Explorer Experiment


Title: feat: parse PostgreSQL VACUUM, ANALYZE, CLUSTER and CHECKPOINT with shared utility options by minleejae · Pull Request #2890 · JSQLParser/JSqlParser · GitHub

Open Graph Title: feat: parse PostgreSQL VACUUM, ANALYZE, CLUSTER and CHECKPOINT with shared utility options by minleejae · Pull Request #2890 · JSQLParser/JSqlParser

X Title: feat: parse PostgreSQL VACUUM, ANALYZE, CLUSTER and CHECKPOINT with shared utility options by minleejae · Pull Request #2890 · JSQLParser/JSqlParser

Description: Purpose PostgreSQL maintenance scripts run VACUUM, ANALYZE, CLUSTER and CHECKPOINT. On master (7123d25a1) these fail in every configuration, for example: VACUUM (PARALLEL 2, INDEX_CLEANUP OFF) t (a), VACUUM FULL t, VACUUM (VERBOSE, ANALYZE) t ANALYZE VERBOSE t (a), ANALYZE (SKIP_LOCKED) t, s, a bare ANALYZE CLUSTER t USING t_pkey, CLUSTER VERBOSE, CLUSTER (VERBOSE) t, a bare CLUSTER, the pre-8.3 CLUSTER t_pkey ON t ANALYSE t, PostgreSQL's other spelling of ANALYZE CHECKPOINT PostgreSQL 18 references: VACUUM, ANALYZE, CLUSTER, CHECKPOINT. Current design (As-is) The statement grammar has no alternative for VACUUM, CLUSTER or CHECKPOINT; CHECKPOINT is only known inside Oracle's ALTER SYSTEM CHECKPOINT. Analyze models MySQL's ANALYZE [NO_WRITE_TO_BINLOG | LOCAL] [TABLE] t, … [histogram], where #2883 completed the MySQL 8.4 histogram clause: UPDATE HISTOGRAM ON c, … [WITH n BUCKETS] [{AUTO | MANUAL} UPDATE], UPDATE HISTOGRAM ON c USING DATA 'json' and DROP HISTOGRAM ON c, … (getHistogramBucketCount(), getHistogramUpdateMode(), getHistogramData()). It requires a table and has no options, so ANALYZE (SKIP_LOCKED) t, ANALYZE t (a) and ANALYZE fail, and ANALYZE VERBOSE t stops at t. Analyze has small defects: toString() always appends a space and the table list, so a statement without tables would render as ANALYZE . StatementDeParser.visit(Analyze) lacks @Override. Feature.analyze is in no capability list, so the validator rejects ANALYZE for MySQL, MariaDB and PostgreSQL alike. PostgreSQL's utility_option_list (( name [value], … )) is shared by VACUUM, ANALYZE, CLUSTER, EXPLAIN and REINDEX. JSqlParser parses it for EXPLAIN, with a closed option enum and its own list of value tokens, and for REINDEX (#2818) with another closed enum. Target design (To-be) Shared option model: UtilityOption (net.sf.jsqlparser.statement) is one name [value] element. getName() keeps the name as written. getValueType() is BOOLEAN (TRUE/FALSE/ON/OFF), NUMBER (signed integer or decimal), STRING or WORD (such as AUTO); getValue() is the SQL text. Typed readers follow ReplicationOption: getBooleanValue() (as PostgreSQL's defGetBoolean: also 0/1 and 'on'), getLongValue(), getStringValue() (unquoted and unescaped) and getEnumValue(Class). The name is not a closed enum field. Each statement has a small OptionKind enum (VacuumStatement.OptionKind, Analyze.OptionKind, ClusterStatement.OptionKind), and getKind(Class) maps a name to it, or null. A new PostgreSQL option therefore needs one enum constant, not a model change. As in PostgreSQL, ANALYSE names the ANALYZE option. Factories UtilityOption.of(name, boolean), of(name, long), ofString(name, text) and ofWord(name, word). Shared grammar that follows PostgreSQL's: UtilityOptionList(), UtilityOption() and UtilityOptionArgument() follow utility_option_list/utility_option_elem/utility_option_arg of PostgreSQL 18's gram.y. VACUUM, ANALYZE and CLUSTER use them and accept what PostgreSQL's grammar accepts: any option name, and as value a Boolean word, a non-reserved word, a string (also E'…' and $$…$$) or a signed integer or decimal (NumericOnly). A name or word can be a double-quoted identifier, such as "verbose". The semantic checks are left to the server, as PostgreSQL does them only when it runs the statement: VACUUM (FOO) t and VACUUM (PARALLEL -1) t parse, and PostgreSQL then reports unrecognized VACUUM option "foo" or parallel workers for vacuum must be between 0 and 1024. The model still tells them apart: getKind(Class) is null for an unknown name, getValueType() records the value as written, and the typed readers return null for a value of another type (getLongValue() of PARALLEL 1.5). Names and words are identifiers and JSqlParser's non-reserved words, the closest match to PostgreSQL's NonReservedWord. PostgreSQL's reserved keywords are rejected as unquoted names and words (VACUUM (TABLE) t, VACUUM (VERBOSE analyze) t), except ANALYZE and ANALYSE as names (analyze_keyword), as in gram.y. A double-quoted name keeps its case, as in PostgreSQL: getKind reads "verbose" as VERBOSE and "VERBOSE" as unknown, and the unquoted ANALYSE is the option ANALYZE. EXPLAIN (…) is unchanged: it reads its elements through UtilityOption() and maps them to its released ExplainStatement.Option, whose closed OptionType names and existing value checks still decide what is accepted. On a grid of 1,092 option combinations it accepts and renders exactly what master does. Moving ExplainStatement.Option, and the Reindex.Option of REINDEX (…), to UtilityOption would let them follow the grammar too; that is left for a follow-up because it changes their released APIs. Unparenthesized keywords are options: VACUUM FULL t holds the option FULL like VACUUM (FULL) t, and isParenthesizedOptions() tells the forms apart, as ExplainStatement does for EXPLAIN ANALYZE. Consumers read one list for both spellings. The keyword form is rendered in PostgreSQL's required order (FULL FREEZE VERBOSE ANALYZE); options it cannot express are rendered in parentheses. MaintenanceTarget (statement.maintenance) is PostgreSQL's table_and_columns: [ONLY] table [*] [(column, …)]. The relation reuses TableReference and the RelationTarget() production of LOCK and TRUNCATE; PostgreSQL 18's vacuum_relation is a relation_expr, so ONLY and * are accepted. Columns are Columns. VACUUM and ANALYZE share it and the MaintenanceTargetList() production. One Analyze for both products: Analyze is extended in place, and the MySQL and PostgreSQL forms are two mutually exclusive shapes of the same statement. MySQL form PostgreSQL form Example ANALYZE NO_WRITE_TO_BINLOG TABLE t1, t2 UPDATE HISTOGRAM ON c WITH 32 BUCKETS AUTO UPDATE ANALYZE (VERBOSE, SKIP_LOCKED) ONLY t (a, b), u Own state getModifier(), isTableKeyword(), getHistogramAction(), getHistogramColumns(), getHistogramBucketCount(), getHistogramUpdateMode(), getHistogramData() getOptions(), isParenthesizedOptions(), targets with ONLY, * or columns Shared state getTargets() (plain tables) getTargets() The tables of both forms are MaintenanceTargets in getTargets(), the single source of truth. A MySQL table is a plain target (isPlainTable()). getTable(), getTables(), setTable, setTables, addTables and the builders stay and are derived from the targets: getTables() is now a read-only snapshot, and the setters create plain targets. The parser enforces the exclusion in one place (requireAnalyzeForm): the modifier, the TABLE keyword and the histogram clause, which carries the bucket count, the update mode and the JSON data, cannot be combined with options or with targets that use ONLY, * or columns, and they require a table. Every #2883 rule stays as it is: USING DATA excludes the bucket count and the update mode, and DROP HISTOGRAM takes none of them. PostgreSQL's analyze_keyword is ANALYZE | ANALYSE. Analyze.Command (ANALYZE, ANALYSE) keeps the spelling, like StartTransaction.Command, so ANALYSE VERBOSE t (a) round-trips. ANALYSE takes only the PostgreSQL form; ANALYSE TABLE t is rejected, as in both databases. toString() and StatementDeParser share appendTo, which renders {ANALYZE | ANALYSE} [modifier] [options] [TABLE] [targets] [histogram], so each form prints as written and a programmatic Analyze without targets prints ANALYZE. New: getOptions(), isParenthesizedOptions(), getTargets(), getCommand(), Analyze.OptionKind and Analyze.Command; Modifier, HistogramAction, HistogramUpdateMode and all histogram accessors keep their signatures and behaviour. Other statements: VacuumStatement: options, isParenthesizedOptions(), targets. VACUUM [FULL] [FREEZE] [VERBOSE] [ANALYZE | ANALYSE] accepts the words in that order; as in PostgreSQL they are never table names here. ClusterStatement: options, table and index name. Without a table the index name is discarded, and setIndexName requires a table. PostgreSQL 18 still accepts the pre-8.3 CLUSTER [VERBOSE] index ON table (CLUSTER opt_verbose name ON qualified_name). It parses to the same table and index, and ClusterStatement.IndexSyntax (USING, ON) keeps the spelling. The ON form takes no option list, so a programmatic statement that has parenthesized options is rendered in the USING form. CheckpointStatement. PostgreSQL 18 accepts no options; CHECKPOINT (…) comes in a later release and can be added to this class the same way. AST nodes (#2870): the three statements extend ASTNodeAccessImpl and get the node SingleStatement links. UtilityOption and MaintenanceTarget extend ASTNodeAccessImpl too and are linked to their source range (PARALLEL 2, VERBOSE, ONLY s.t (a, b), u *), and the columns of a target get the node of their name. ASTNodeCoverageTest walks VACUUM, ANALYZE (both forms and the ANALYSE spelling), CLUSTER (with ON) and CHECKPOINT statements. Dialects: The PostgreSQL forms are read with Dialect.POSTGRESQL and without a dialect. Other dialects do not change: VACUUM, CLUSTER and CHECKPOINT are not statements there, and ANALYZE keeps the MySQL form. Without a dialect, VACUUM, CLUSTER, CHECKPOINT and ANALYSE start a statement only when the next tokens take the PostgreSQL form. Other products' variants such as VACUUM INTO 'backup.db', VACUUM t RETAIN 168 HOURS or CHECKPOINT 10 stay UnsupportedStatements. Other dialects never read ANALYSE as a statement. Behavior change: with Dialect.POSTGRESQL, ANALYZE verbose now means the VERBOSE option, as in PostgreSQL. Without a dialect it still analyzes a table named verbose unless a table name follows (ANALYZE VERBOSE t); other dialects keep the table reading. Grammar: VACUUM and CLUSTER become non-reserved tokens, next to #2883's CHECKSUM. A statement that starts with a plain identifier adds choice conflicts at trailing optional identifiers, as for NOTIFY and REINDEX. Both remain identifiers (KeywordsTest, keyword sweeps). The contextual CLUSTER ON/SET WITHOUT CLUSTER of ALTER TABLE and BigQuery's CLUSTER BY accept the new token. FREEZE stays a contextual keyword; ANALYZE, CHECKPOINT and VERBOSE were already non-reserved tokens. FULL after VACUUM is read with an explicit lookahead, because FULL can now also be a name (reserved keyword usable as an identifier). ANALYSE was already a non-reserved token (for MySQL's PROCEDURE ANALYSE()). SingleStatement takes it as a statement start only through isPostgreSqlMaintenanceAhead(), so analyse stays an identifier (SELECT analyse FROM analyse) and PROCEDURE ANALYSE() is unchanged. isStatementStartAhead() recognizes VACUUM, CLUSTER, CHECKPOINT and ANALYSE, so with unsupported statements enabled they are no longer captured as opaque, and they end a preceding statement. Wiring: StatementVisitor defaults, StatementVisitorAdapter, StatementDeParser (now also @Override and appendTo for Analyze). TablesNamesFinder reports the target tables and the CLUSTER table, not the columns or the index. Validation: new features vacuum, cluster and checkpoint. They and analyze are in PostgresqlVersion; analyze is also added to MySqlVersion and MariaDbVersion. Feature analysis: VACUUM and CLUSTER report MODIFIES_SCHEMA and READS_DATA, like ANALYZE; CHECKPOINT reports MODIFIES_SESSION, like ALTER SYSTEM CHECKPOINT. The usage guide, README and index list the statements. Validation 123 new tests: VacuumStatementTest 36, PostgreSqlAnalyzeTest 42, ClusterStatementTest 25, CheckpointStatementTest 8, UtilityOptionTest 5, MaintenanceValidatorTest 4 and MaintenanceNodeTest 3. Every form: parse, toString(), StatementDeParser and reparse with Dialect.POSTGRESQL and without a dialect, plus the AST fields (option kinds, typed values, ONLY/*, columns, index, IndexSyntax, Command). Every PostgreSQL 18 VACUUM option, and options the grammar accepts but the server rejects when it runs (VACUUM (FOO) t, VACUUM (PARALLEL -1) t, VERBOSE maybe, PARALLEL 1.5, (t)), with a null getKind or the value type as parsed; double-quoted names and values, $$…$$ strings, and the syntax errors (VACUUM (), VACUUM (VERBOSE,) t, VACUUM (TABLE) t, VACUUM (VERBOSE analyze) t, VACUUM ANALYZE FULL t, VACUUM t USING x, CLUSTER t USING, CLUSTER (VERBOSE) i ON t, CLUSTER s.i ON t, CHECKPOINT (FLUSH_UNLOGGED)). Mixed MySQL/PostgreSQL ANALYZE forms, including the #2883 histogram options (ANALYZE (VERBOSE) t UPDATE HISTOGRAM ON a WITH 8 BUCKETS AUTO UPDATE, ANALYZE t (a) UPDATE HISTOGRAM ON a, ANALYZE UPDATE HISTOGRAM ON a) and ANALYSE TABLE t. The MySQL forms, with AUTO UPDATE, MANUAL UPDATE and USING DATA, unchanged in the MySQL, MariaDB and PostgreSQL dialects and held as plain targets; the existing AnalyzeTest of #2883 passes unchanged. Other dialects, other products' variants as unsupported statements, statement boundaries (including after SHOW and after an unsupported statement), builders and rendering of programmatic options and of the ON form, table discovery, validation capabilities and statement features. The words as identifiers (vacuum, cluster, checkpoint, freeze, analyse), MySQL's PROCEDURE ANALYSE(), ALTER TABLE … CLUSTER ON, SET WITHOUT CLUSTER, BigQuery CLUSTER BY, and EXPLAIN (…) through the shared production, including the option names and values it still rejects; KeywordsTest covers VACUUM and CLUSTER. Source ranges of the statements, options, targets and target columns (MaintenanceNodeTest); ASTNodeCoverageTest walks nine VACUUM, ANALYZE, ANALYSE, CLUSTER and CHECKPOINT statements, the MySQL histogram form among them. ReindexTest and SecurityLabelTest used VACUUM t as their example of an unsupported statement before REINDEX and SECURITY LABEL; they now use LISTEN ch. Every form was run against PostgreSQL 18: each statement the parser accepts is accepted by the server's grammar, and each one it rejects is a server syntax error. Java 17 offline Gradle spotlessApply check jar: 12,565 tests, 12,540 passed, 25 skipped, zero failures/errors. The grammar choice conflict check passes. Compared with master (7123d25a1) on a corpus of 188 MySQL 8.4 and 166 PostgreSQL 18 statements other than DDL/DCL, each accepted by the server, with the MySQL or PostgreSQL dialect and without a dialect: Fixed with Dialect.POSTGRESQL and without a dialect: ANALYZE VERBOSE t (a), ANALYZE (SKIP_LOCKED) t, s, VACUUM (VERBOSE, ANALYZE) t, VACUUM FULL t, VACUUM (PARALLEL 2, INDEX_CLEANUP OFF) t (a), CLUSTER t USING t_pkey, CLUSTER VERBOSE and CHECKPOINT. Each renders identically to the source. 0 regressed and 0 changed in status, statement class or rendering. AST change: the MySQL statements ANALYZE TABLE t UPDATE HISTOGRAM ON a WITH 10 BUCKETS and ANALYZE NO_WRITE_TO_BINLOG TABLE t, s hold their tables as targets[i].reference.table instead of tables[i] and gain command = ANALYZE; getTables() returns the same tables. Compared with master (7123d25a1) on a corpus of 635 MySQL 8.4 and PostgreSQL 18 DDL/DCL statements, each accepted by the server, plus variants, scripts and the keyword sweeps (which use vacuum, cluster and checkpoint as table and column names): 0 regressed, 0 changed. ANALYZE TABLE t1, t2 has the same AST change. EXPLAIN (…) compared with master (7123d25a1) on 1,092 option combinations (21 names, 26 values, with Dialect.POSTGRESQL and without a dialect): identical acceptance and rendering. AI assistance: prepared with Claude Code.

Open Graph Description: Purpose PostgreSQL maintenance scripts run VACUUM, ANALYZE, CLUSTER and CHECKPOINT. On master (7123d25a1) these fail in every configuration, for example: VACUUM (PARALLEL 2, INDEX_CLEANUP OFF) t (...

X Description: Purpose PostgreSQL maintenance scripts run VACUUM, ANALYZE, CLUSTER and CHECKPOINT. On master (7123d25a1) these fail in every configuration, for example: VACUUM (PARALLEL 2, INDEX_CLEANUP OFF) t (...

Opengraph URL: https://github.com/JSQLParser/JSqlParser/pull/2890

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:7193c123-a27c-af52-92d4-97e6d381b0b2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA8A8:2E2BF6:A32F1:DAFD5:6B048ED7
html-safe-nonce96b2e906a8e33ca37a6af59cd147afcb6fac7e55108246e8c07be47947d2a479
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEE4OjJFMkJGNjpBMzJGMTpEQUZENTo2QjA0OEVENyIsInZpc2l0b3JfaWQiOiIxMDIzMTE2NDIzNTA3MjUwOTAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac06eeec0c1a07ccb96b513ec1d2823a7ac902e4112727ac8a99197b2f038a9d5a
hovercard-subject-tagpull_request:5132929058
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/JSQLParser/JSqlParser/pull/2890/files
twitter:imagehttps://avatars.githubusercontent.com/u/55116920?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/55116920?s=400&v=4
og:image:altPurpose PostgreSQL maintenance scripts run VACUUM, ANALYZE, CLUSTER and CHECKPOINT. On master (7123d25a1) these fail in every configuration, for example: VACUUM (PARALLEL 2, INDEX_CLEANUP OFF) t (...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9b297275a74a2c9a35898175c9477837c635d4f579277ebff3b2d6ebd012e247
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/JSQLParser/JSqlParser git https://github.com/JSQLParser/JSqlParser.git
octolytics-dimension-user_id4643847
octolytics-dimension-user_loginJSQLParser
octolytics-dimension-repository_id1944709
octolytics-dimension-repository_nwoJSQLParser/JSqlParser
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1944709
octolytics-dimension-repository_network_root_nwoJSQLParser/JSqlParser
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb51ce57ca6d4565a42856fc1c9897077c794597f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/JSQLParser/JSqlParser/pull/2890/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJSQLParser%2FJSqlParser%2Fpull%2F2890%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJSQLParser%2FJSqlParser%2Fpull%2F2890%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=JSQLParser%2FJSqlParser
Reloadhttps://github.com/JSQLParser/JSqlParser/pull/2890/files
Reloadhttps://github.com/JSQLParser/JSqlParser/pull/2890/files
Reloadhttps://github.com/JSQLParser/JSqlParser/pull/2890/files
JSQLParserhttps://github.com/JSQLParser
JSqlParserhttps://github.com/JSQLParser/JSqlParser
Codehttps://github.com/JSQLParser/JSqlParser
Issues2 (2)https://github.com/JSQLParser/JSqlParser/issues
Pull requests2 (2)https://github.com/JSQLParser/JSqlParser/pulls
Discussionshttps://github.com/JSQLParser/JSqlParser/discussions
Actionshttps://github.com/JSQLParser/JSqlParser/actions
Projectshttps://github.com/JSQLParser/JSqlParser/projects
Wikihttps://github.com/JSQLParser/JSqlParser/wiki
Security and qualityhttps://github.com/JSQLParser/JSqlParser/security
Insightshttps://github.com/JSQLParser/JSqlParser/insights
Sign up for GitHub https://github.com/signup?return_to=%2FJSQLParser%2FJSqlParser%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FJSQLParser%2FJSqlParser%2Fissues%2Fnew%2Fchoose
manticore-projectshttps://github.com/manticore-projects
JSQLParser:masterhttps://github.com/JSQLParser/JSqlParser/tree/master
minleejae:feat/postgresql-maintenance-20261103https://github.com/minleejae/JSqlParser/tree/feat/postgresql-maintenance-20261103
Conversation 1 https://github.com/JSQLParser/JSqlParser/pull/2890
Commits 1 https://github.com/JSQLParser/JSqlParser/pull/2890/commits
Checks 10 https://github.com/JSQLParser/JSqlParser/pull/2890/checks
Files changed https://github.com/JSQLParser/JSqlParser/pull/2890/files
Please reload this pagehttps://github.com/JSQLParser/JSqlParser/pull/2890/files
feat: parse PostgreSQL VACUUM, ANALYZE, CLUSTER and CHECKPOINT with shared utility options https://github.com/JSQLParser/JSqlParser/pull/2890/files#top
Show all changes 1 commit https://github.com/JSQLParser/JSqlParser/pull/2890/files
d561779 feat: parse PostgreSQL VACUUM, ANALYZE, CLUSTER and CHECKPOINT with s… minleejae Nov 3, 2026 https://github.com/JSQLParser/JSqlParser/pull/2890/commits/d561779a8c6a1645092bfc2ebd225638261c1b82
Clear filters https://github.com/JSQLParser/JSqlParser/pull/2890/files
Please reload this pagehttps://github.com/JSQLParser/JSqlParser/pull/2890/files
Please reload this pagehttps://github.com/JSQLParser/JSqlParser/pull/2890/files
README.md https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
Feature.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-b57b852438d3e15e4c939656ad6d17f470798c7db7b046f80f164177494076d6
StatementFeatureVisitor.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-c1b8b39dcc5fbcce75b91f6a4ffd69bc79acc351fdd59b8c3eed531329342581
StatementVisitor.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-66ec448e33b316e80aa8a62c644e641fc9d8f3d532f791b70f1c47e7465da2fd
StatementVisitorAdapter.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-625129a86e7a593207bb52ba03c3ee455abea6ed0be3522f53806f1f62288ff2
UtilityOption.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-ebd9221eed5375f73c2a2dbe0278d6fc1f64d3fd3894322e6c153c8130865037
Analyze.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-cad590b7d636457488584b32ed2b7cea224a5074948a71cdfcb431ed38d961a6
CheckpointStatement.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-c87ab4292a3a9f5f3cb9c7a89d416bcc03cc20ab56a7c9cbe1b4662ea30d2741
ClusterStatement.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-9c95ef64525367a81b35bf6ed787a460c25b9467a5b1e347a180da451776f2aa
MaintenanceTarget.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-ce4e6e5c886ac4af0869b87dba9dab5f3bfa0cd3b3373cb8d9cd64374830fe81
VacuumStatement.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-da683f0585f096363523b9c76116686ad87a287533ce57e14b356f97e0071248
TablesNamesFinder.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-316573d4de546d1d0655f069706d16ecd347aad823e413ec72652511badf2294
StatementDeParser.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-00a6d6d078dcf35751b47acbfc3b36af14e0258a25f8b43dd60ad2fcf8e6e7d9
MariaDbVersion.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-632c1b5e7fbce63a6ef13276b5d03c525845ccd6f326ce747111477486aabdf3
MySqlVersion.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-bf72d9eb983cb91ac9346dd9c7a5d03d8ca5584a51fac3701deaadd4ebd912a9
PostgresqlVersion.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-cd9ef1cda52263743f8e8636a4ca295772665456eff7ad2752635e96837a0590
ClusterValidator.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-dda3eaa150d09c66ce973deed8cd09dd080583b24fb5eeab37e891f3dd1b2910
StatementValidator.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-722a9fc7c604c7fc6a7420f64699fc6822dc6c86bdc3e0e2465a1b36e8694aa0
VacuumValidator.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-1f30d85b3b7cea6bb3fac8419ddfe16ee0e4ac8fc4b1bc5c8168c880cc83e984
JSqlParserCC.jjt https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-d323df58a0300a038ac87b328bf05b8255ff06e6b5d0e9aeae641fa566e4068c
index.rst https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-0767c78c07d6147bab2e9c0d8b9dcf5b97c20d3f8122e03d6341b2df16aaf276
usage.rst https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-1d76e581381361db03988ab6bd07be336cb8129b61bda04ab3fe334209488c2c
ASTNodeCoverageTest.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-8ad609b9dfa9a1133ea6e9b557c83a26c718856763638241cf68b06c940dc993
UtilityOptionTest.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-5a536f2ea82ec97731d668f8e60d253cdd51687ae6d3af019f189ac2f6aa9ef0
PostgreSqlAnalyzeTest.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-161681c039ed99dcd8cd5f424ca512f6bdf43e8ea4e094d26abf1d4ee2d804d9
CheckpointStatementTest.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-6eb4477038b0ca86e08b98d891023b6cf86e5e6578d35f37d7a0d1c98346c7fc
ClusterStatementTest.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-a542c9fc208c80a96c3122115e595d4f6b948bfb65fbf4a12e2ef47262a78a23
MaintenanceNodeTest.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-4483e7ade50730074bdbe1a90cea91b7174dff5abb9d4ecbe1e83988a61885b4
VacuumStatementTest.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-847009049bff0e596fa9c22b48106277cb5c4c61b723fdb6c1894e4f5e9f8422
ReindexTest.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-5b3be17084b993cb2dae085b7ea719a4f8f110eb2392aec7aefb6329963cae20
SecurityLabelTest.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-6b02ff0f00d5d4825f1186f081803927d04b2300e45db589e87166a6b1f148c3
MaintenanceValidatorTest.java https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-618d11216a84f835a925481986e2f7dc98900ce73846825b134c5ac59aeddc78
README.mdhttps://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://github.com/minleejae/JSqlParser/blob/d561779a8c6a1645092bfc2ebd225638261c1b82/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JSQLParser/JSqlParser/pull/2890/{{ revealButtonHref }}
https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
src/main/java/net/sf/jsqlparser/parser/feature/Feature.javahttps://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-b57b852438d3e15e4c939656ad6d17f470798c7db7b046f80f164177494076d6
View file https://github.com/minleejae/JSqlParser/blob/d561779a8c6a1645092bfc2ebd225638261c1b82/src/main/java/net/sf/jsqlparser/parser/feature/Feature.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JSQLParser/JSqlParser/pull/2890/{{ revealButtonHref }}
https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-b57b852438d3e15e4c939656ad6d17f470798c7db7b046f80f164177494076d6
https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-b57b852438d3e15e4c939656ad6d17f470798c7db7b046f80f164177494076d6
https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-b57b852438d3e15e4c939656ad6d17f470798c7db7b046f80f164177494076d6
https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-b57b852438d3e15e4c939656ad6d17f470798c7db7b046f80f164177494076d6
src/main/java/net/sf/jsqlparser/statement/StatementFeatureVisitor.javahttps://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-c1b8b39dcc5fbcce75b91f6a4ffd69bc79acc351fdd59b8c3eed531329342581
View file https://github.com/minleejae/JSqlParser/blob/d561779a8c6a1645092bfc2ebd225638261c1b82/src/main/java/net/sf/jsqlparser/statement/StatementFeatureVisitor.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JSQLParser/JSqlParser/pull/2890/{{ revealButtonHref }}
https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-c1b8b39dcc5fbcce75b91f6a4ffd69bc79acc351fdd59b8c3eed531329342581
https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-c1b8b39dcc5fbcce75b91f6a4ffd69bc79acc351fdd59b8c3eed531329342581
https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-c1b8b39dcc5fbcce75b91f6a4ffd69bc79acc351fdd59b8c3eed531329342581
https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-c1b8b39dcc5fbcce75b91f6a4ffd69bc79acc351fdd59b8c3eed531329342581
src/main/java/net/sf/jsqlparser/statement/StatementVisitor.javahttps://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-66ec448e33b316e80aa8a62c644e641fc9d8f3d532f791b70f1c47e7465da2fd
View file https://github.com/minleejae/JSqlParser/blob/d561779a8c6a1645092bfc2ebd225638261c1b82/src/main/java/net/sf/jsqlparser/statement/StatementVisitor.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JSQLParser/JSqlParser/pull/2890/{{ revealButtonHref }}
https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-66ec448e33b316e80aa8a62c644e641fc9d8f3d532f791b70f1c47e7465da2fd
https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-66ec448e33b316e80aa8a62c644e641fc9d8f3d532f791b70f1c47e7465da2fd
https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-66ec448e33b316e80aa8a62c644e641fc9d8f3d532f791b70f1c47e7465da2fd
https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-66ec448e33b316e80aa8a62c644e641fc9d8f3d532f791b70f1c47e7465da2fd
src/main/java/net/sf/jsqlparser/statement/StatementVisitorAdapter.javahttps://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-625129a86e7a593207bb52ba03c3ee455abea6ed0be3522f53806f1f62288ff2
View file https://github.com/minleejae/JSqlParser/blob/d561779a8c6a1645092bfc2ebd225638261c1b82/src/main/java/net/sf/jsqlparser/statement/StatementVisitorAdapter.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JSQLParser/JSqlParser/pull/2890/{{ revealButtonHref }}
https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-625129a86e7a593207bb52ba03c3ee455abea6ed0be3522f53806f1f62288ff2
https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-625129a86e7a593207bb52ba03c3ee455abea6ed0be3522f53806f1f62288ff2
https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-625129a86e7a593207bb52ba03c3ee455abea6ed0be3522f53806f1f62288ff2
https://github.com/JSQLParser/JSqlParser/pull/2890/files#diff-625129a86e7a593207bb52ba03c3ee455abea6ed0be3522f53806f1f62288ff2
Please reload this pagehttps://github.com/JSQLParser/JSqlParser/pull/2890/files
Please reload this pagehttps://github.com/JSQLParser/JSqlParser/pull/2890/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.