René's URL Explorer Experiment


Title: Catch invalid ON CONFLICT DO UPDATE column references by nikolayk812 · Pull Request #4366 · sqlc-dev/sqlc · GitHub

Open Graph Title: Catch invalid ON CONFLICT DO UPDATE column references by nikolayk812 · Pull Request #4366 · sqlc-dev/sqlc

X Title: Catch invalid ON CONFLICT DO UPDATE column references by nikolayk812 · Pull Request #4366 · 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: Validate ON CONFLICT (col) conflict target columns exist Validate DO UPDATE SET col = ... assignment target columns exist Validate EXCLUDED.col references exist Catch missing conflict target for DO...

X Description: Validate ON CONFLICT (col) conflict target columns exist Validate DO UPDATE SET col = ... assignment target columns exist Validate EXCLUDED.col references exist Catch missing conflict target for DO...

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

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:0270289b-8949-2a90-7b1c-176f3a1a7904
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB020:CF10B:14812C:1D4AEC:6A50EFEC
html-safe-nonce455dca4cca04818e7c2bbfa81b1d445a2367e1747ae0c5639288c4d358acbcc6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDIwOkNGMTBCOjE0ODEyQzoxRDRBRUM6NkE1MEVGRUMiLCJ2aXNpdG9yX2lkIjoiNzI3MTc0ODI5MjQyOTU0MTM1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac830582921d545bef3432e80a6cee6293f3cb32984f5f07e3dac8df6a58e472d8
hovercard-subject-tagpull_request:3479243923
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/4366/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7a0734d0a1c3bc6f097ff2ffe4ed2a45ff38a9aaa33f51dfa34e0e53195a1fc2/sqlc-dev/sqlc/pull/4366
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7a0734d0a1c3bc6f097ff2ffe4ed2a45ff38a9aaa33f51dfa34e0e53195a1fc2/sqlc-dev/sqlc/pull/4366
og:image:altValidate ON CONFLICT (col) conflict target columns exist Validate DO UPDATE SET col = ... assignment target columns exist Validate EXCLUDED.col references exist Catch missing conflict target for DO...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenikolayk812
hostnamegithub.com
expected-hostnamegithub.com
None5266e58c17a510c403505cc811606465e90a881d2007ee7df1c4800d5c659838
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
release5ec60191a48933536a90c8a19f47142fcd0d4739
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/sqlc-dev/sqlc/pull/4366#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F4366
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%2F4366
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/4366
Reloadhttps://github.com/sqlc-dev/sqlc/pull/4366
Reloadhttps://github.com/sqlc-dev/sqlc/pull/4366
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4366
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
sqlc-dev:mainhttps://github.com/sqlc-dev/sqlc/tree/main
nikolayk812:4291-on-conflicthttps://github.com/nikolayk812/sqlc/tree/4291-on-conflict
Conversationhttps://github.com/sqlc-dev/sqlc/pull/4366
Commits7 (7)https://github.com/sqlc-dev/sqlc/pull/4366/commits
Checkshttps://github.com/sqlc-dev/sqlc/pull/4366/checks
Files changedhttps://github.com/sqlc-dev/sqlc/pull/4366/files
Catch invalid ON CONFLICT DO UPDATE column referenceshttps://github.com/sqlc-dev/sqlc/pull/4366#top
kyleconroyhttps://github.com/kyleconroy
sqlc-dev:mainhttps://github.com/sqlc-dev/sqlc/tree/main
nikolayk812:4291-on-conflicthttps://github.com/nikolayk812/sqlc/tree/4291-on-conflict
https://github.com/nikolayk812
nikolayk812https://github.com/nikolayk812
Apr 1, 2026https://github.com/sqlc-dev/sqlc/pull/4366#issue-4189851317
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4366
#4291https://github.com/sqlc-dev/sqlc/issues/4291
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4366
https://github.com/apps/dosubot
dosubothttps://github.com/apps/dosubot
size:L https://github.com/sqlc-dev/sqlc/issues?q=state%3Aopen%20label%3Asize%3AL
Apr 1, 2026https://github.com/sqlc-dev/sqlc/pull/4366#event-24127000585
nikolayk812https://github.com/nikolayk812
April 2, 2026 02:20https://github.com/sqlc-dev/sqlc/pull/4366#commits-pushed-b7c9448
https://github.com/nikolayk812
validateOnConflictColumnshttps://github.com/sqlc-dev/sqlc/pull/4366/commits/b7c944879a193aa16e3b951f7b24b11b4d351c28
b7c9448https://github.com/sqlc-dev/sqlc/pull/4366/commits/b7c944879a193aa16e3b951f7b24b11b4d351c28
https://github.com/nikolayk812
validateOnConflictTypeshttps://github.com/sqlc-dev/sqlc/pull/4366/commits/fca278db92e597dba76b151164f4fe55aa881c16
fca278dhttps://github.com/sqlc-dev/sqlc/pull/4366/commits/fca278db92e597dba76b151164f4fe55aa881c16
https://github.com/nikolayk812
validateOnConflictClausehttps://github.com/sqlc-dev/sqlc/pull/4366/commits/fe19865ac9bbd59f3cc5e97528d290d02c6a7701
fe19865https://github.com/sqlc-dev/sqlc/pull/4366/commits/fe19865ac9bbd59f3cc5e97528d290d02c6a7701
https://github.com/nikolayk812
remove validateOnConflictSetTypeshttps://github.com/sqlc-dev/sqlc/pull/4366/commits/95e05526cd87287563c4776a24e38088f8ea25ff
95e0552https://github.com/sqlc-dev/sqlc/pull/4366/commits/95e05526cd87287563c4776a24e38088f8ea25ff
https://github.com/nikolayk812
move to validatehttps://github.com/sqlc-dev/sqlc/pull/4366/commits/1ed27efc715be49f70c6691c341ec885bf32dea8
1ed27efhttps://github.com/sqlc-dev/sqlc/pull/4366/commits/1ed27efc715be49f70c6691c341ec885bf32dea8
https://github.com/nikolayk812
params orderhttps://github.com/sqlc-dev/sqlc/pull/4366/commits/dc3771270046bb944afc315af911ba8d24677478
dc37712https://github.com/sqlc-dev/sqlc/pull/4366/commits/dc3771270046bb944afc315af911ba8d24677478
https://github.com/nikolayk812
ON CONSTRAINThttps://github.com/sqlc-dev/sqlc/pull/4366/commits/c3d992202eb0468f534fd4256469dc695ea39fac
c3d9922https://github.com/sqlc-dev/sqlc/pull/4366/commits/c3d992202eb0468f534fd4256469dc695ea39fac
https://github.com/nikolayk812
nikolayk812https://github.com/nikolayk812
force-pushedhttps://github.com/sqlc-dev/sqlc/compare/ff18233ef64f92402b17e29ad8b923c209a531c7..c3d992202eb0468f534fd4256469dc695ea39fac
ff18233https://github.com/sqlc-dev/sqlc/commit/ff18233ef64f92402b17e29ad8b923c209a531c7
c3d9922https://github.com/sqlc-dev/sqlc/commit/c3d992202eb0468f534fd4256469dc695ea39fac
Compare https://github.com/sqlc-dev/sqlc/compare/ff18233ef64f92402b17e29ad8b923c209a531c7..c3d992202eb0468f534fd4256469dc695ea39fac
April 1, 2026 23:20https://github.com/sqlc-dev/sqlc/pull/4366#event-24130039791
https://github.com/kyleconroy
kyleconroyhttps://github.com/kyleconroy
7f6b186https://github.com/sqlc-dev/sqlc/commit/7f6b186f32cc2a218acd6021caec57e8cd025cee
Apr 17, 2026https://github.com/sqlc-dev/sqlc/pull/4366#event-24592405555
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4366
khepinhttps://github.com/khepin
Apr 18, 2026 https://github.com/sqlc-dev/sqlc/pull/4366#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
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%2F4366
size:L https://github.com/sqlc-dev/sqlc/issues?q=state%3Aopen%20label%3Asize%3AL
Column names in ON CONFLICT DO UPDATE SET clause not validated https://github.com/sqlc-dev/sqlc/issues/4291
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4366
https://github.com/nikolayk812
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.