| react-profiling | 0 |
| react-import-map | react,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-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f14eec8e-eaca-eb61-03cb-6fb79fc2f726 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A600:3F5E9C:35D057C:465E212:6B0439CE |
| html-safe-nonce | ac8419f68ecce561d396f90420c1639221d7f587572189af4ad2784c39ff38e3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjAwOjNGNUU5QzozNUQwNTdDOjQ2NUUyMTI6NkIwNDM5Q0UiLCJ2aXNpdG9yX2lkIjoiNTY2MjQ1Njc4NzE2NTc4ODYyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 32a5e9d5b7a276afacde986a6136f69b674320ac27dcf2f2a092cc242b4e5cfb |
| hovercard-subject-tag | pull_request:4978031055 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/JSQLParser/JSqlParser/pull/2847/files |
| twitter:image | https://avatars.githubusercontent.com/u/55116920?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/55116920?s=400&v=4 |
| og:image:alt | ALTER TABLE ADD parses table constraints with the CREATE TABLE production only for Dialect.MYSQL and Dialect.POSTGRESQL (#2612, #2654). Without either dialect, the generic ALTER branches reject for... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/JSQLParser/JSqlParser git https://github.com/JSQLParser/JSqlParser.git |
| octolytics-dimension-user_id | 4643847 |
| octolytics-dimension-user_login | JSQLParser |
| octolytics-dimension-repository_id | 1944709 |
| octolytics-dimension-repository_nwo | JSQLParser/JSqlParser |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1944709 |
| octolytics-dimension-repository_network_root_nwo | JSQLParser/JSqlParser |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 06dc448a76fe4751ac1db26524aefa3aa3e889a8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/JSQLParser/JSqlParser/pull/2847/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJSQLParser%2FJSqlParser%2Fpull%2F2847%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJSQLParser%2FJSqlParser%2Fpull%2F2847%2Ffiles |
| Sign up | https://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 |
| Reload | https://github.com/JSQLParser/JSqlParser/pull/2847/files |
| Reload | https://github.com/JSQLParser/JSqlParser/pull/2847/files |
| Reload | https://github.com/JSQLParser/JSqlParser/pull/2847/files |
| JSQLParser | https://github.com/JSQLParser |
| JSqlParser | https://github.com/JSQLParser/JSqlParser |
| Code | https://github.com/JSQLParser/JSqlParser |
| Issues2 (2) | https://github.com/JSQLParser/JSqlParser/issues |
| Pull requests3 (3) | https://github.com/JSQLParser/JSqlParser/pulls |
| Discussions | https://github.com/JSQLParser/JSqlParser/discussions |
| Actions | https://github.com/JSQLParser/JSqlParser/actions |
| Projects | https://github.com/JSQLParser/JSqlParser/projects |
| Wiki | https://github.com/JSQLParser/JSqlParser/wiki |
| Security and quality | https://github.com/JSQLParser/JSqlParser/security |
| Insights | https://github.com/JSQLParser/JSqlParser/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2FJSQLParser%2FJSqlParser%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2FJSQLParser%2FJSqlParser%2Fissues%2Fnew%2Fchoose |
| manticore-projects | https://github.com/manticore-projects |
| JSQLParser:master | https://github.com/JSQLParser/JSqlParser/tree/master |
| minleejae:fix/alter-add-shared-constraints-20261023 | https://github.com/minleejae/JSqlParser/tree/fix/alter-add-shared-constraints-20261023 |
|
Conversation
1
| https://github.com/JSQLParser/JSqlParser/pull/2847 |
|
Commits
3
| https://github.com/JSQLParser/JSqlParser/pull/2847/commits |
|
Checks
10
| https://github.com/JSQLParser/JSqlParser/pull/2847/checks |
|
Files changed
| https://github.com/JSQLParser/JSqlParser/pull/2847/files |
| Please reload this page | https://github.com/JSQLParser/JSqlParser/pull/2847/files |
|
fix: reuse table constraints for ALTER TABLE ADD in every dialect
| https://github.com/JSQLParser/JSqlParser/pull/2847/files#top |
|
Show all changes
3 commits
| https://github.com/JSQLParser/JSqlParser/pull/2847/files |
|
f257070
fix: reuse table constraints for ALTER TABLE ADD in every dialect
minleejae Oct 23, 2026
| https://github.com/JSQLParser/JSqlParser/pull/2847/commits/f257070f4e2a32f84168a0282a96a9bb7983a077 |
|
95dc95b
fix: parse VALIDATE CONSTRAINT as a structured action in every dialect
minleejae Oct 23, 2026
| https://github.com/JSQLParser/JSqlParser/pull/2847/commits/95dc95b8058df8beccfb5e3146d1b10bf8faf073 |
|
0d91757
refactor: keep the ALTER constraint lookahead in the grammar
minleejae Oct 23, 2026
| https://github.com/JSQLParser/JSqlParser/pull/2847/commits/0d91757b67776cd27ed8a85c939aa5c83db9e6a6 |
|
Clear filters
| https://github.com/JSQLParser/JSqlParser/pull/2847/files |
| Please reload this page | https://github.com/JSQLParser/JSqlParser/pull/2847/files |
| Please reload this page | https://github.com/JSQLParser/JSqlParser/pull/2847/files |
|
JSqlParserCC.jjt
| https://github.com/JSQLParser/JSqlParser/pull/2847/files#diff-d323df58a0300a038ac87b328bf05b8255ff06e6b5d0e9aeae641fa566e4068c |
|
AlterAddTableConstraintTest.java
| https://github.com/JSQLParser/JSqlParser/pull/2847/files#diff-20acebed628c229b0408a5c22c81dde4e199f96c146524015eb94dd8e1de280d |
|
PostgreSqlRelationAlterTest.java
| https://github.com/JSQLParser/JSqlParser/pull/2847/files#diff-31c12b6b7f14c8b550e5eaa957dcb1d60d6591657e3d837aacdf0ca952d6c4ce |
| src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt | https://github.com/JSQLParser/JSqlParser/pull/2847/files#diff-d323df58a0300a038ac87b328bf05b8255ff06e6b5d0e9aeae641fa566e4068c |
|
View file
| https://github.com/minleejae/JSqlParser/blob/0d91757b67776cd27ed8a85c939aa5c83db9e6a6/src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/JSQLParser/JSqlParser/pull/2847/{{ revealButtonHref }} |
|
| https://github.com/JSQLParser/JSqlParser/pull/2847/files#diff-d323df58a0300a038ac87b328bf05b8255ff06e6b5d0e9aeae641fa566e4068c |
|
| https://github.com/JSQLParser/JSqlParser/pull/2847/files#diff-d323df58a0300a038ac87b328bf05b8255ff06e6b5d0e9aeae641fa566e4068c |
|
| https://github.com/JSQLParser/JSqlParser/pull/2847/files#diff-d323df58a0300a038ac87b328bf05b8255ff06e6b5d0e9aeae641fa566e4068c |
|
| https://github.com/JSQLParser/JSqlParser/pull/2847/files#diff-d323df58a0300a038ac87b328bf05b8255ff06e6b5d0e9aeae641fa566e4068c |
|
| https://github.com/JSQLParser/JSqlParser/pull/2847/files#diff-d323df58a0300a038ac87b328bf05b8255ff06e6b5d0e9aeae641fa566e4068c |
|
| https://github.com/JSQLParser/JSqlParser/pull/2847/files#diff-d323df58a0300a038ac87b328bf05b8255ff06e6b5d0e9aeae641fa566e4068c |
| src/test/java/net/sf/jsqlparser/statement/alter/AlterAddTableConstraintTest.java | https://github.com/JSQLParser/JSqlParser/pull/2847/files#diff-20acebed628c229b0408a5c22c81dde4e199f96c146524015eb94dd8e1de280d |
|
View file
| https://github.com/minleejae/JSqlParser/blob/0d91757b67776cd27ed8a85c939aa5c83db9e6a6/src/test/java/net/sf/jsqlparser/statement/alter/AlterAddTableConstraintTest.java |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/JSQLParser/JSqlParser/pull/2847/{{ revealButtonHref }} |
| src/test/java/net/sf/jsqlparser/statement/alter/PostgreSqlRelationAlterTest.java | https://github.com/JSQLParser/JSqlParser/pull/2847/files#diff-31c12b6b7f14c8b550e5eaa957dcb1d60d6591657e3d837aacdf0ca952d6c4ce |
|
View file
| https://github.com/minleejae/JSqlParser/blob/0d91757b67776cd27ed8a85c939aa5c83db9e6a6/src/test/java/net/sf/jsqlparser/statement/alter/PostgreSqlRelationAlterTest.java |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/JSQLParser/JSqlParser/pull/2847/{{ revealButtonHref }} |
|
| https://github.com/JSQLParser/JSqlParser/pull/2847/files#diff-31c12b6b7f14c8b550e5eaa957dcb1d60d6591657e3d837aacdf0ca952d6c4ce |
|
| https://github.com/JSQLParser/JSqlParser/pull/2847/files#diff-31c12b6b7f14c8b550e5eaa957dcb1d60d6591657e3d837aacdf0ca952d6c4ce |
| Please reload this page | https://github.com/JSQLParser/JSqlParser/pull/2847/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |