René's URL Explorer Experiment


Title: Fix parameter name collision in :one query return values by kyleconroy · Pull Request #4383 · sqlc-dev/sqlc · GitHub

Open Graph Title: Fix parameter name collision in :one query return values by kyleconroy · Pull Request #4383 · sqlc-dev/sqlc

X Title: Fix parameter name collision in :one query return values by kyleconroy · Pull Request #4383 · 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 fixes a bug where :one queries would overwrite input parameters when the return value name collides with a parameter name, causing data corruption on sql.ErrNoRows errors. Problem W...

X Description: Summary This PR fixes a bug where :one queries would overwrite input parameters when the return value name collides with a parameter name, causing data corruption on sql.ErrNoRows errors. Problem W...

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

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:5b38798f-d1c6-dad5-3184-511b87adecc7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA8B8:2162D1:872D94:B6A937:6A50572B
html-safe-nonce166aaf375be20c8c5784f85dc2075ccf3e0ab1ea94d9eca6b227905157dbf5cd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEI4OjIxNjJEMTo4NzJEOTQ6QjZBOTM3OjZBNTA1NzJCIiwidmlzaXRvcl9pZCI6IjQ0MzQ3ODMwNDMyMDc1ODM1MzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacdd79e45889aec34fa87d0cafb14da2855ff30f35032db79fec38c4bd88b2e070
hovercard-subject-tagpull_request:3545511978
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/4383/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0acc434c474c0a65b62e5c06b094cf261a7be6590fc7b653558fc42215f6f646/sqlc-dev/sqlc/pull/4383
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0acc434c474c0a65b62e5c06b094cf261a7be6590fc7b653558fc42215f6f646/sqlc-dev/sqlc/pull/4383
og:image:altSummary This PR fixes a bug where :one queries would overwrite input parameters when the return value name collides with a parameter name, causing data corruption on sql.ErrNoRows errors. Problem W...
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
release7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/sqlc-dev/sqlc/pull/4383#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F4383
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%2F4383
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/4383
Reloadhttps://github.com/sqlc-dev/sqlc/pull/4383
Reloadhttps://github.com/sqlc-dev/sqlc/pull/4383
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4383
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/detect-name-conflict-6UUyVhttps://github.com/sqlc-dev/sqlc/tree/claude/detect-name-conflict-6UUyV
Conversationhttps://github.com/sqlc-dev/sqlc/pull/4383
Commits1 (1)https://github.com/sqlc-dev/sqlc/pull/4383/commits
Checkshttps://github.com/sqlc-dev/sqlc/pull/4383/checks
Files changedhttps://github.com/sqlc-dev/sqlc/pull/4383/files
Fix parameter name collision in :one query return valueshttps://github.com/sqlc-dev/sqlc/pull/4383#top
kyleconroyhttps://github.com/kyleconroy
mainhttps://github.com/sqlc-dev/sqlc/tree/main
claude/detect-name-conflict-6UUyVhttps://github.com/sqlc-dev/sqlc/tree/claude/detect-name-conflict-6UUyV
https://github.com/kyleconroy
kyleconroyhttps://github.com/kyleconroy
Apr 17, 2026https://github.com/sqlc-dev/sqlc/pull/4383#issue-4282917795
#4354https://github.com/sqlc-dev/sqlc/issues/4354
https://claude.ai/code/session_01Ly2rRRcRPXhT2bm6odjeqxhttps://claude.ai/code/session_01Ly2rRRcRPXhT2bm6odjeqx
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4383
https://github.com/claude
Rename :one return variable when it conflicts with a parameterhttps://github.com/sqlc-dev/sqlc/pull/4383/commits/6028cd21776cfabf3818f7afa91d16dddc9624c9
6028cd2https://github.com/sqlc-dev/sqlc/pull/4383/commits/6028cd21776cfabf3818f7afa91d16dddc9624c9
#4354https://github.com/sqlc-dev/sqlc/issues/4354
https://github.com/kyleconroy
kyleconroyhttps://github.com/kyleconroy
07c3808https://github.com/sqlc-dev/sqlc/commit/07c3808567bdab1bcdc75437b858778169ac925b
Apr 17, 2026https://github.com/sqlc-dev/sqlc/pull/4383#event-24610302267
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4383
https://github.com/kyleconroy
kyleconroyhttps://github.com/kyleconroy
April 17, 2026 13:54https://github.com/sqlc-dev/sqlc/pull/4383#event-24610303447
khepinhttps://github.com/khepin
Apr 18, 2026 https://github.com/sqlc-dev/sqlc/pull/4383#ref-commit-1613aec
https://github.com/khepin
Merge branch 'main' ofhttps://github.com/khepin/sqlc/commit/1613aec04418ac005caf28d3a56a602374518e80
https://github.com/sqlc-dev/sqlchttps://github.com/sqlc-dev/sqlc
into fix-sqli…https://github.com/khepin/sqlc/commit/1613aec04418ac005caf28d3a56a602374518e80
1613aechttps://github.com/khepin/sqlc/commit/1613aec04418ac005caf28d3a56a602374518e80
https://github.com/sqlc-dev/sqlchttps://github.com/sqlc-dev/sqlc
sqlc-dev#4387https://github.com/sqlc-dev/sqlc/pull/4387
sqlc-dev#4383https://github.com/sqlc-dev/sqlc/pull/4383
sqlc-dev#4385https://github.com/sqlc-dev/sqlc/pull/4385
sqlc-dev#4384https://github.com/sqlc-dev/sqlc/pull/4384
sqlc-dev#4382https://github.com/sqlc-dev/sqlc/pull/4382
sqlc-dev#4381https://github.com/sqlc-dev/sqlc/pull/4381
sqlc-dev#4380https://github.com/sqlc-dev/sqlc/pull/4380
sqlc-dev#4368https://github.com/sqlc-dev/sqlc/pull/4368
sqlc-dev#4363https://github.com/sqlc-dev/sqlc/pull/4363
sqlc-dev#4357https://github.com/sqlc-dev/sqlc/pull/4357
sqlc-dev#4379https://github.com/sqlc-dev/sqlc/pull/4379
sqlc-dev#4378https://github.com/sqlc-dev/sqlc/pull/4378
sqlc-dev#4320https://github.com/sqlc-dev/sqlc/pull/4320
sqlc-dev#4371https://github.com/sqlc-dev/sqlc/pull/4371
sqlc-dev#4377https://github.com/sqlc-dev/sqlc/pull/4377
sqlc-dev#4366https://github.com/sqlc-dev/sqlc/pull/4366
Merge upstream v1.31.1 coder/sqlc#6 https://github.com/coder/sqlc/pull/6
fix: bump sqlc fork to v1.31.1 merge, strip pg_dump meta-commands coder/coder#25105 https://github.com/coder/coder/pull/25105
ethanndicksonhttps://github.com/ethanndickson
May 11, 2026 https://github.com/sqlc-dev/sqlc/pull/4383#ref-commit-c0e5853
https://github.com/ethanndickson
fix: bump sqlc fork to v1.31.1 merge, strip pg_dump meta-commandshttps://github.com/coder/coder/commit/c0e585361664e7fc6fbb8dacc0e0b762adadb8f0
c0e5853https://github.com/coder/coder/commit/c0e585361664e7fc6fbb8dacc0e0b762adadb8f0
coder/internal#965https://github.com/coder/internal/issues/965
coder/sqlc#6https://github.com/coder/sqlc/pull/6
sqlc-dev/sqlc#4390https://github.com/sqlc-dev/sqlc/pull/4390
#19696https://github.com/coder/coder/pull/19696
sqlc-dev/sqlc#4383https://github.com/sqlc-dev/sqlc/pull/4383
ethanndicksonhttps://github.com/ethanndickson
May 13, 2026 https://github.com/sqlc-dev/sqlc/pull/4383#ref-commit-ec174de
https://github.com/ethanndickson
fix: bump sqlc fork to v1.31.1 merge, strip pg_dump meta-commandshttps://github.com/coder/coder/commit/ec174deba037bc7da993c76d50091b009f27aace
ec174dehttps://github.com/coder/coder/commit/ec174deba037bc7da993c76d50091b009f27aace
coder/internal#965https://github.com/coder/internal/issues/965
coder/sqlc#6https://github.com/coder/sqlc/pull/6
sqlc-dev/sqlc#4390https://github.com/sqlc-dev/sqlc/pull/4390
#19696https://github.com/coder/coder/pull/19696
sqlc-dev/sqlc#4383https://github.com/sqlc-dev/sqlc/pull/4383
ethanndicksonhttps://github.com/ethanndickson
May 13, 2026 https://github.com/sqlc-dev/sqlc/pull/4383#ref-commit-8955599
https://github.com/ethanndickson
fix: bump sqlc fork to v1.31.1 merge, strip pg_dump meta-commands (https://github.com/coder/coder/commit/8955599bd0b5006478a53ce4c3c465407846fd6c
#2…https://github.com/coder/coder/pull/25105
8955599https://github.com/coder/coder/commit/8955599bd0b5006478a53ce4c3c465407846fd6c
…5105https://github.com/coder/coder/pull/25105
coder/internal#965https://github.com/coder/internal/issues/965
#19696https://github.com/coder/coder/pull/19696
coder/sqlc@337309bhttps://github.com/coder/sqlc/commit/337309bfb9524f38466a5090e310040fc7af0203
coder/sqlc#6https://github.com/coder/sqlc/pull/6
sqlc-dev/sqlc#4390https://github.com/sqlc-dev/sqlc/pull/4390
sqlc-dev/sqlc#4390https://github.com/sqlc-dev/sqlc/pull/4390
#19696https://github.com/coder/coder/pull/19696
sqlc-dev/sqlc#4383https://github.com/sqlc-dev/sqlc/pull/4383
sqlc-dev/sqlc#4383https://github.com/sqlc-dev/sqlc/pull/4383
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%2F4383
bug if column and param share the same name https://github.com/sqlc-dev/sqlc/issues/4354
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4383
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.