René's URL Explorer Experiment


Title: feat(ast): implement comprehensive SQL AST formatting by kyleconroy · Pull Request #4205 · sqlc-dev/sqlc · GitHub

Open Graph Title: feat(ast): implement comprehensive SQL AST formatting by kyleconroy · Pull Request #4205 · sqlc-dev/sqlc

X Title: feat(ast): implement comprehensive SQL AST formatting by kyleconroy · Pull Request #4205 · sqlc-dev/sqlc

Description: Generate type-safe code from SQL. Contribute to sqlc-dev/sqlc development by creating an account on GitHub.

Open Graph Description: Summary Implements comprehensive Format() methods for SQL AST nodes to convert parsed AST back to valid SQL strings Adds fmt_test.go which validates that formatting produces semantically equivalen...

X Description: Summary Implements comprehensive Format() methods for SQL AST nodes to convert parsed AST back to valid SQL strings Adds fmt_test.go which validates that formatting produces semantically equivalen...

Opengraph URL: https://github.com/sqlc-dev/sqlc/pull/4205

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:42d38c31-0797-39d4-1d84-310608ad44eb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id98B6:1EC7:5663F2E:7A46AC1:6A50214B
html-safe-noncea8bc1179fb785b6ca3cf408da7397453da53dbce7a85e0b11797479c1ce04c65
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEI2OjFFQzc6NTY2M0YyRTo3QTQ2QUMxOjZBNTAyMTRCIiwidmlzaXRvcl9pZCI6IjM0NzY3MDc3Njc5ODA0MDA5NzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8a245fedbf441b4c5d6d6775b29ee858e99ba21629ac2be709d5ae9f05f776a8
hovercard-subject-tagpull_request:3056930362
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/sqlc-dev/sqlc/4205/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1f32e52748f0201653c875b7b39b41f1ba8d261b41921b972608174ea6f0a7d6/sqlc-dev/sqlc/pull/4205
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1f32e52748f0201653c875b7b39b41f1ba8d261b41921b972608174ea6f0a7d6/sqlc-dev/sqlc/pull/4205
og:image:altSummary Implements comprehensive Format() methods for SQL AST nodes to convert parsed AST back to valid SQL strings Adds fmt_test.go which validates that formatting produces semantically equivalen...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekyleconroy
hostnamegithub.com
expected-hostnamegithub.com
Nonea08040246389072795e3b4e7b33c6d9a0c564eee02e829a809326d67c418b069
turbo-cache-controlno-cache
go-importgithub.com/sqlc-dev/sqlc git https://github.com/sqlc-dev/sqlc.git
octolytics-dimension-user_id136738596
octolytics-dimension-user_loginsqlc-dev
octolytics-dimension-repository_id193160679
octolytics-dimension-repository_nwosqlc-dev/sqlc
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id193160679
octolytics-dimension-repository_network_root_nwosqlc-dev/sqlc
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released1b91b18e7330fc458dfd824c61eaed7daa830d6
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/sqlc-dev/sqlc/pull/4205#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F4205
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F4205
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=sqlc-dev%2Fsqlc
Reloadhttps://github.com/sqlc-dev/sqlc/pull/4205
Reloadhttps://github.com/sqlc-dev/sqlc/pull/4205
Reloadhttps://github.com/sqlc-dev/sqlc/pull/4205
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4205
sqlc-dev https://github.com/sqlc-dev
sqlchttps://github.com/sqlc-dev/sqlc
Notifications https://github.com/login?return_to=%2Fsqlc-dev%2Fsqlc
Fork 1.1k https://github.com/login?return_to=%2Fsqlc-dev%2Fsqlc
Star 18k https://github.com/login?return_to=%2Fsqlc-dev%2Fsqlc
Code https://github.com/sqlc-dev/sqlc
Issues 597 https://github.com/sqlc-dev/sqlc/issues
Pull requests 106 https://github.com/sqlc-dev/sqlc/pulls
Discussions https://github.com/sqlc-dev/sqlc/discussions
Actions https://github.com/sqlc-dev/sqlc/actions
Projects https://github.com/sqlc-dev/sqlc/projects
Security and quality 0 https://github.com/sqlc-dev/sqlc/security
Insights https://github.com/sqlc-dev/sqlc/pulse
Code https://github.com/sqlc-dev/sqlc
Issues https://github.com/sqlc-dev/sqlc/issues
Pull requests https://github.com/sqlc-dev/sqlc/pulls
Discussions https://github.com/sqlc-dev/sqlc/discussions
Actions https://github.com/sqlc-dev/sqlc/actions
Projects https://github.com/sqlc-dev/sqlc/projects
Security and quality https://github.com/sqlc-dev/sqlc/security
Insights https://github.com/sqlc-dev/sqlc/pulse
kyleconroyhttps://github.com/kyleconroy
mainhttps://github.com/sqlc-dev/sqlc/tree/main
kyle/sql-ast-formathttps://github.com/sqlc-dev/sqlc/tree/kyle/sql-ast-format
Conversationhttps://github.com/sqlc-dev/sqlc/pull/4205
Commits9 (9)https://github.com/sqlc-dev/sqlc/pull/4205/commits
Checkshttps://github.com/sqlc-dev/sqlc/pull/4205/checks
Files changedhttps://github.com/sqlc-dev/sqlc/pull/4205/files
feat(ast): implement comprehensive SQL AST formattinghttps://github.com/sqlc-dev/sqlc/pull/4205#top
kyleconroyhttps://github.com/kyleconroy
mainhttps://github.com/sqlc-dev/sqlc/tree/main
kyle/sql-ast-formathttps://github.com/sqlc-dev/sqlc/tree/kyle/sql-ast-format
https://github.com/kyleconroy
kyleconroyhttps://github.com/kyleconroy
Nov 30, 2025https://github.com/sqlc-dev/sqlc/pull/4205#issue-3678381706
Claude Codehttps://claude.com/claude-code
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4205
kyleconroyhttps://github.com/kyleconroy
November 29, 2025 22:30https://github.com/sqlc-dev/sqlc/pull/4205#commits-pushed-ab9ce9e
https://github.com/kyleconroy
https://github.com/claude
refactor(fmt_test): use config-based engine detection and parser for …https://github.com/sqlc-dev/sqlc/pull/4205/commits/ab9ce9efc463661ef129aa28d3b64555e77c5b7b
ab9ce9ehttps://github.com/sqlc-dev/sqlc/pull/4205/commits/ab9ce9efc463661ef129aa28d3b64555e77c5b7b
https://claude.com/claude-codehttps://claude.com/claude-code
https://github.com/kyleconroy
https://github.com/claude
feat(ast): add and improve Format methods for SQL AST nodeshttps://github.com/sqlc-dev/sqlc/pull/4205/commits/7731b596a3707df5797080201d58419a331f0c72
7731b59https://github.com/sqlc-dev/sqlc/pull/4205/commits/7731b596a3707df5797080201d58419a331f0c72
https://claude.com/claude-codehttps://claude.com/claude-code
https://github.com/kyleconroy
https://github.com/claude
feat(ast): add more Format methods for SQL AST nodeshttps://github.com/sqlc-dev/sqlc/pull/4205/commits/c355232f4a130e7a6b9f768bfc144ed7a4929bff
c355232https://github.com/sqlc-dev/sqlc/pull/4205/commits/c355232f4a130e7a6b9f768bfc144ed7a4929bff
https://claude.com/claude-codehttps://claude.com/claude-code
https://github.com/kyleconroy
https://github.com/claude
feat(postgresql): add custom Deparse wrapper with bug fixeshttps://github.com/sqlc-dev/sqlc/pull/4205/commits/25ee7051150e61eb54a2cb5d0143193389739b9f
25ee705https://github.com/sqlc-dev/sqlc/pull/4205/commits/25ee7051150e61eb54a2cb5d0143193389739b9f
https://claude.com/claude-codehttps://claude.com/claude-code
https://github.com/kyleconroy
https://github.com/claude
feat(ast): complete SQL AST formatting implementationhttps://github.com/sqlc-dev/sqlc/pull/4205/commits/c4e885fc64c4fc93a9f5a37311ff810776c6c829
c4e885fhttps://github.com/sqlc-dev/sqlc/pull/4205/commits/c4e885fc64c4fc93a9f5a37311ff810776c6c829
https://claude.com/claude-codehttps://claude.com/claude-code
https://github.com/apps/dosubot
dosubothttps://github.com/apps/dosubot
size:XL https://github.com/sqlc-dev/sqlc/issues?q=state%3Aopen%20label%3Asize%3AXL
🔧 golang https://github.com/sqlc-dev/sqlc/issues?q=state%3Aopen%20label%3A%22%3Awrench%3A%20golang%22
Nov 30, 2025https://github.com/sqlc-dev/sqlc/pull/4205#event-21260079145
kyleconroyhttps://github.com/kyleconroy
November 30, 2025 13:05https://github.com/sqlc-dev/sqlc/pull/4205#commits-pushed-0e7fa5a
https://github.com/kyleconroy
https://github.com/claude
refactor(postgresql): use existing convert functions instead of trans…https://github.com/sqlc-dev/sqlc/pull/4205/commits/0e7fa5a50cef6d0b15534109800666371f100208
0e7fa5ahttps://github.com/sqlc-dev/sqlc/pull/4205/commits/0e7fa5a50cef6d0b15534109800666371f100208
https://claude.com/claude-codehttps://claude.com/claude-code
https://github.com/kyleconroy
https://github.com/claude
refactor(format): add Formatter interface for SQL dialect-specific qu…https://github.com/sqlc-dev/sqlc/pull/4205/commits/dc44702bed5dc3919b8606a214bb54fbf9375c33
dc44702https://github.com/sqlc-dev/sqlc/pull/4205/commits/dc44702bed5dc3919b8606a214bb54fbf9375c33
https://claude.com/claude-codehttps://claude.com/claude-code
https://github.com/kyleconroy
https://github.com/claude
refactor(format): add TypeName method to Formatter interfacehttps://github.com/sqlc-dev/sqlc/pull/4205/commits/8194d945b7191e0309364bb4b94a78fb5e3221e4
8194d94https://github.com/sqlc-dev/sqlc/pull/4205/commits/8194d945b7191e0309364bb4b94a78fb5e3221e4
https://claude.com/claude-codehttps://claude.com/claude-code
https://github.com/kyleconroy
https://github.com/claude
fix(postgresql): restore parseRelationFromNodes for column type resol…https://github.com/sqlc-dev/sqlc/pull/4205/commits/7a49c3a139a4068bd87b152cfea5512973e8af73
7a49c3ahttps://github.com/sqlc-dev/sqlc/pull/4205/commits/7a49c3a139a4068bd87b152cfea5512973e8af73
https://claude.com/claude-codehttps://claude.com/claude-code
https://github.com/kyleconroy
kyleconroyhttps://github.com/kyleconroy
405a905https://github.com/sqlc-dev/sqlc/commit/405a9056f68e5d0427ca662f327afc8c2b3e8314
Nov 30, 2025https://github.com/sqlc-dev/sqlc/pull/4205#event-21260674855
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4205
https://github.com/kyleconroy
kyleconroyhttps://github.com/kyleconroy
November 30, 2025 21:57https://github.com/sqlc-dev/sqlc/pull/4205#event-21260674967
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F4205
size:XL https://github.com/sqlc-dev/sqlc/issues?q=state%3Aopen%20label%3Asize%3AXL
🔧 golang https://github.com/sqlc-dev/sqlc/issues?q=state%3Aopen%20label%3A%22%3Awrench%3A%20golang%22
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4205
https://github.com/kyleconroy
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

Viewport: width=device-width


URLs of crawlers that visited me.