René's URL Explorer Experiment


Title: feat(postgresql): add analyzerv2 experiment for database-only analysis by kyleconroy · Pull Request #4237 · sqlc-dev/sqlc · GitHub

Open Graph Title: feat(postgresql): add analyzerv2 experiment for database-only analysis by kyleconroy · Pull Request #4237 · sqlc-dev/sqlc

X Title: feat(postgresql): add analyzerv2 experiment for database-only analysis by kyleconroy · Pull Request #4237 · 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 This PR introduces a database-only analyzer mode that uses the database connection for query analysis instead of sqlc's internal catalog. This provides more accurate type inference by l...

X Description: Summary This PR introduces a database-only analyzer mode that uses the database connection for query analysis instead of sqlc's internal catalog. This provides more accurate type inference ...

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

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:f074b583-a0b5-5ba5-8c61-5e3a18440bb6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE08A:1FFDFF:64B9E5D:8D609C3:6A50434C
html-safe-nonce4d7b19293c6c129512cd942386754b8f954b16d2a54664369251d0b267743a04
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDhBOjFGRkRGRjo2NEI5RTVEOjhENjA5QzM6NkE1MDQzNEMiLCJ2aXNpdG9yX2lkIjoiMjIxOTY1NTA5NDgxNDY1NTMwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac25c94da087215268b7316db99709b17f8aad5e01d5c4870042c5ba98070ca8ca
hovercard-subject-tagpull_request:3115191121
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/4237/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/09adcb4b52ce94dcf3b896da8ad66278973a944753a433a0e1ec3d682fd952b8/sqlc-dev/sqlc/pull/4237
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/09adcb4b52ce94dcf3b896da8ad66278973a944753a433a0e1ec3d682fd952b8/sqlc-dev/sqlc/pull/4237
og:image:altSummary This PR introduces a database-only analyzer mode that uses the database connection for query analysis instead of sqlc's internal catalog. This provides more accurate type inference by l...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekyleconroy
hostnamegithub.com
expected-hostnamegithub.com
Noned6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb
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
released90666eaf032b7eb8975a378efe38e37f4ebb96c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/sqlc-dev/sqlc/pull/4237#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F4237
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%2F4237
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/4237
Reloadhttps://github.com/sqlc-dev/sqlc/pull/4237
Reloadhttps://github.com/sqlc-dev/sqlc/pull/4237
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4237
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
claude/accurate-analyzer-mode-UeNm6https://github.com/sqlc-dev/sqlc/tree/claude/accurate-analyzer-mode-UeNm6
Conversationhttps://github.com/sqlc-dev/sqlc/pull/4237
Commits10 (10)https://github.com/sqlc-dev/sqlc/pull/4237/commits
Checkshttps://github.com/sqlc-dev/sqlc/pull/4237/checks
Files changedhttps://github.com/sqlc-dev/sqlc/pull/4237/files
feat(postgresql): add analyzerv2 experiment for database-only analysishttps://github.com/sqlc-dev/sqlc/pull/4237#top
kyleconroyhttps://github.com/kyleconroy
mainhttps://github.com/sqlc-dev/sqlc/tree/main
claude/accurate-analyzer-mode-UeNm6https://github.com/sqlc-dev/sqlc/tree/claude/accurate-analyzer-mode-UeNm6
https://github.com/kyleconroy
kyleconroyhttps://github.com/kyleconroy
Dec 18, 2025https://github.com/sqlc-dev/sqlc/pull/4237#issue-3744756870
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4237
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4237
kyleconroyhttps://github.com/kyleconroy
November 30, 2025 20:38https://github.com/sqlc-dev/sqlc/pull/4237#commits-pushed-aa392c7
https://github.com/kyleconroy
https://github.com/claude
feat(postgresql): add accurate analyzer mode for database-only analysishttps://github.com/sqlc-dev/sqlc/pull/4237/commits/aa392c73aaa4e83eae61c000e8a71d77da77e1cc
aa392c7https://github.com/sqlc-dev/sqlc/pull/4237/commits/aa392c73aaa4e83eae61c000e8a71d77da77e1cc
https://claude.com/claude-codehttps://claude.com/claude-code
https://github.com/kyleconroy
https://github.com/claude
test: add end-to-end tests for accurate analyzer modehttps://github.com/sqlc-dev/sqlc/pull/4237/commits/be4774c7a242e7c2a135c90404c43209f6673609
be4774chttps://github.com/sqlc-dev/sqlc/pull/4237/commits/be4774c7a242e7c2a135c90404c43209f6673609
https://claude.com/claude-codehttps://claude.com/claude-code
https://github.com/kyleconroy
https://github.com/claude
fix(tests): update expected output for accurate mode end-to-end testshttps://github.com/sqlc-dev/sqlc/pull/4237/commits/67226f7d12f151a07fc03884557ec50160aad32c
67226f7https://github.com/sqlc-dev/sqlc/pull/4237/commits/67226f7d12f151a07fc03884557ec50160aad32c
https://claude.com/claude-codehttps://claude.com/claude-code
https://github.com/kyleconroy
https://github.com/claude
test(e2e): add accurate mode test for CTE with VALUES clausehttps://github.com/sqlc-dev/sqlc/pull/4237/commits/7d5caa78ac998e64f316cca6b0cc7b8ce6672411
7d5caa7https://github.com/sqlc-dev/sqlc/pull/4237/commits/7d5caa78ac998e64f316cca6b0cc7b8ce6672411
https://claude.com/claude-codehttps://claude.com/claude-code
https://github.com/kyleconroy
https://github.com/claude
fix(ast): fix VALUES clause formatting to output multiple rowshttps://github.com/sqlc-dev/sqlc/pull/4237/commits/32908436e881f6dca447fe9bfbd41c3f20ef0a05
3290843https://github.com/sqlc-dev/sqlc/pull/4237/commits/32908436e881f6dca447fe9bfbd41c3f20ef0a05
https://claude.com/claude-codehttps://claude.com/claude-code
https://github.com/claude
Merge remote-tracking branch 'origin/kyle/accurate-analyzer-mode' int…https://github.com/sqlc-dev/sqlc/pull/4237/commits/6a122723aa5b3565f3ede9516eaadb4dc8b659cb
6a12272https://github.com/sqlc-dev/sqlc/pull/4237/commits/6a122723aa5b3565f3ede9516eaadb4dc8b659cb
https://github.com/claude
feat: rename accurate mode to analyzer.database: only with analyzerv2…https://github.com/sqlc-dev/sqlc/pull/4237/commits/850e0498e58fc5edc25cecc224ce61b3a69dcc8f
850e049https://github.com/sqlc-dev/sqlc/pull/4237/commits/850e0498e58fc5edc25cecc224ce61b3a69dcc8f
https://claude.ai/codehttps://claude.ai/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
Dec 18, 2025https://github.com/sqlc-dev/sqlc/pull/4237#event-21653682000
claudehttps://github.com/claude
December 18, 2025 20:44https://github.com/sqlc-dev/sqlc/pull/4237#commits-pushed-b126f17
https://github.com/claude
feat: add SQLite support for database-only mode (analyzer.database: o…https://github.com/sqlc-dev/sqlc/pull/4237/commits/b126f17e15bd0eeaa87999456aa2a37f8edaeb61
b126f17https://github.com/sqlc-dev/sqlc/pull/4237/commits/b126f17e15bd0eeaa87999456aa2a37f8edaeb61
https://claude.ai/codehttps://claude.ai/code
https://github.com/claude
refactor: use analyzer interface for database-only modehttps://github.com/sqlc-dev/sqlc/pull/4237/commits/4668db99fcc14ca41465906162c48ecc828a0c20
4668db9https://github.com/sqlc-dev/sqlc/pull/4237/commits/4668db99fcc14ca41465906162c48ecc828a0c20
https://claude.com/claude-codehttps://claude.com/claude-code
https://github.com/claude
feat: parse schema for syntax validation only in database-only modehttps://github.com/sqlc-dev/sqlc/pull/4237/commits/a87a418df48fc6af958e6f0676fcb910896d0deb
a87a418https://github.com/sqlc-dev/sqlc/pull/4237/commits/a87a418df48fc6af958e6f0676fcb910896d0deb
https://claude.com/claude-codehttps://claude.com/claude-code
https://github.com/kyleconroy
kyleconroyhttps://github.com/kyleconroy
Dec 22, 2025https://github.com/sqlc-dev/sqlc/pull/4237#event-21714709846
https://github.com/kyleconroy
kyleconroyhttps://github.com/kyleconroy
68b2089https://github.com/sqlc-dev/sqlc/commit/68b20894b45823a85802c418d85da71404fb3e59
Dec 22, 2025https://github.com/sqlc-dev/sqlc/pull/4237#event-21714714426
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4237
https://github.com/kyleconroy
kyleconroyhttps://github.com/kyleconroy
December 22, 2025 23:11https://github.com/sqlc-dev/sqlc/pull/4237#event-21714714614
khepinhttps://github.com/khepin
Apr 15, 2026 https://github.com/sqlc-dev/sqlc/pull/4237#ref-commit-ebbbebd
https://github.com/khepin
Merge remote-tracking branch 'origin/main' into fix-sqlite-order-by-argshttps://github.com/khepin/sqlc/commit/ebbbebd47bbdc0093e6fe92d71306200a3479bdd
ebbbebdhttps://github.com/khepin/sqlc/commit/ebbbebd47bbdc0093e6fe92d71306200a3479bdd
sqlc-dev#4259https://github.com/sqlc-dev/sqlc/pull/4259
sqlc-dev#4328https://github.com/sqlc-dev/sqlc/pull/4328
sqlc-dev#4348https://github.com/sqlc-dev/sqlc/pull/4348
sqlc-dev#4312https://github.com/sqlc-dev/sqlc/pull/4312
sqlc-dev#4310https://github.com/sqlc-dev/sqlc/pull/4310
sqlc-dev#4294https://github.com/sqlc-dev/sqlc/pull/4294
sqlc-dev#4296https://github.com/sqlc-dev/sqlc/pull/4296
sqlc-dev#4304https://github.com/sqlc-dev/sqlc/pull/4304
sqlc-dev#4303https://github.com/sqlc-dev/sqlc/pull/4303
sqlc-dev#4284https://github.com/sqlc-dev/sqlc/pull/4284
sqlc-dev#4267https://github.com/sqlc-dev/sqlc/pull/4267
sqlc-dev#4258https://github.com/sqlc-dev/sqlc/pull/4258
sqlc-dev#4256https://github.com/sqlc-dev/sqlc/pull/4256
sqlc-dev#4248https://github.com/sqlc-dev/sqlc/pull/4248
sqlc-dev#4254https://github.com/sqlc-dev/sqlc/pull/4254
sqlc-dev#4253https://github.com/sqlc-dev/sqlc/pull/4253
sqlc-dev#4246https://github.com/sqlc-dev/sqlc/pull/4246
sqlc-dev#4240https://github.com/sqlc-dev/sqlc/pull/4240
sqlc-dev#4237https://github.com/sqlc-dev/sqlc/pull/4237
sqlc-dev#4236https://github.com/sqlc-dev/sqlc/pull/4236
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%2F4237
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/4237
https://github.com/kyleconroy
https://github.com/claude
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.