| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:1d7dc438-4251-79bd-9a4b-ca1c33602ae8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E9CA:11A2A:A7B927E:AB34EC3:6A50BA2B |
| html-safe-nonce | aad1c76db7d22bf109049c57e87ab520c4d9c5f5ef0e894a8a0fc5754f3769dc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUNBOjExQTJBOkE3QjkyN0U6QUIzNEVDMzo2QTUwQkEyQiIsInZpc2l0b3JfaWQiOiIxNzM4MzM3OTE4MzQxMTM0ODkxIiwicmVnaW9uX2VkZ2UiOiJzZWEiLCJyZWdpb25fcmVuZGVyIjoic2VhIn0= |
| visitor-hmac | f076dafbf71c1a9b3ea94ab5d2d2dbff35b5f3447a59c2e954329acd6dfa06e3 |
| hovercard-subject-tag | pull_request:2958241986 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/coder/sqlc/1/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/2e48dbe47ad3aec8163729229982b34762ef5949dd5e21bfd23073fa5a0f79cd/coder/sqlc/pull/1 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2e48dbe47ad3aec8163729229982b34762ef5949dd5e21bfd23073fa5a0f79cd/coder/sqlc/pull/1 |
| og:image:alt | While adding a simple EXISTS condition, I ran into an sqlc bug because it wasn't tracking scope for CTEs.
query.sql:11:20: column reference "owner_id" is ambiguous
query.sql:24:20: co... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mafredri |
| hostname | github.com |
| expected-hostname | github.com |
| None | 63772747707af4093f0d5fc7aa1bb3bb55f412a9865207c4f421aa34c64cc404 |
| turbo-cache-control | no-cache |
| go-import | github.com/coder/sqlc git https://github.com/coder/sqlc.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 1085583922 |
| octolytics-dimension-repository_nwo | coder/sqlc |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 193160679 |
| octolytics-dimension-repository_parent_nwo | sqlc-dev/sqlc |
| octolytics-dimension-repository_network_root_id | 193160679 |
| octolytics-dimension-repository_network_root_nwo | sqlc-dev/sqlc |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ded53fe94e3ff1bb4dbf8cc77e285396c92580fb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/coder/sqlc/pull/1#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fsqlc%2Fpull%2F1 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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 |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2Fcoder%2Fsqlc%2Fpull%2F1 |
|
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=coder%2Fsqlc |
| Reload | https://github.com/coder/sqlc/pull/1 |
| Reload | https://github.com/coder/sqlc/pull/1 |
| Reload | https://github.com/coder/sqlc/pull/1 |
| Please reload this page | https://github.com/coder/sqlc/pull/1 |
|
coder
| https://github.com/coder |
| sqlc | https://github.com/coder/sqlc |
| sqlc-dev/sqlc | https://github.com/sqlc-dev/sqlc |
|
Notifications
| https://github.com/login?return_to=%2Fcoder%2Fsqlc |
|
Fork
1
| https://github.com/login?return_to=%2Fcoder%2Fsqlc |
|
Star
1
| https://github.com/login?return_to=%2Fcoder%2Fsqlc |
|
Code
| https://github.com/coder/sqlc |
|
Pull requests
3
| https://github.com/coder/sqlc/pulls |
|
Actions
| https://github.com/coder/sqlc/actions |
|
Projects
| https://github.com/coder/sqlc/projects |
|
Security and quality
0
| https://github.com/coder/sqlc/security |
|
Insights
| https://github.com/coder/sqlc/pulse |
|
Code
| https://github.com/coder/sqlc |
|
Pull requests
| https://github.com/coder/sqlc/pulls |
|
Actions
| https://github.com/coder/sqlc/actions |
|
Projects
| https://github.com/coder/sqlc/projects |
|
Security and quality
| https://github.com/coder/sqlc/security |
|
Insights
| https://github.com/coder/sqlc/pulse |
| mafredri | https://github.com/mafredri |
| main | https://github.com/coder/sqlc/tree/main |
| mafredri/fix-ambiguous-column | https://github.com/coder/sqlc/tree/mafredri/fix-ambiguous-column |
| Conversation | https://github.com/coder/sqlc/pull/1 |
| Commits1 (1) | https://github.com/coder/sqlc/pull/1/commits |
| Checks | https://github.com/coder/sqlc/pull/1/checks |
| Files changed | https://github.com/coder/sqlc/pull/1/files |
| Track scope for CTEs to fix ambiguous column bug | https://github.com/coder/sqlc/pull/1#top |
| mafredri | https://github.com/mafredri |
| main | https://github.com/coder/sqlc/tree/main |
| mafredri/fix-ambiguous-column | https://github.com/coder/sqlc/tree/mafredri/fix-ambiguous-column |
|
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| Oct 29, 2025 | https://github.com/coder/sqlc/pull/1#issue-3565107846 |
| Please reload this page | https://github.com/coder/sqlc/pull/1 |
| https://github.com/coder/sqlc/tree/mafredri/fix-ambiguous-column.import | https://github.com/coder/sqlc/tree/mafredri/fix-ambiguous-column.import |
| sqlc-dev#4159 | https://github.com/sqlc-dev/sqlc/pull/4159 |
| Please reload this page | https://github.com/coder/sqlc/pull/1 |
|
| https://github.com/mafredri |
| Track scope for CTEs to fix ambiguous column bug | https://github.com/coder/sqlc/pull/1/commits/7c1a82bce023a2a5226ef4ff9db030b6529cd2ee |
| 7c1a82b | https://github.com/coder/sqlc/pull/1/commits/7c1a82bce023a2a5226ef4ff9db030b6529cd2ee |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
|
Oct 29, 2025
| https://github.com/coder/sqlc/pull/1#ref-pullrequest-3557032607 |
|
fix: deprecate codersdk.AITaskPromptParameterName and reduce usage
coder/coder#20501
| https://github.com/coder/coder/pull/20501 |
| mafredri | https://github.com/mafredri |
|
Oct 29, 2025
| https://github.com/coder/sqlc/pull/1#ref-commit-68bdd15 |
|
| https://github.com/mafredri |
| build: switch to coder/sqlc fork | https://github.com/coder/coder/commit/68bdd152e84bff5f17889dbd8e9a1f4dc2cb4770 |
| 68bdd15 | https://github.com/coder/coder/commit/68bdd152e84bff5f17889dbd8e9a1f4dc2cb4770 |
| coder/sqlc#1 | https://github.com/coder/sqlc/pull/1 |
| #20501 | https://github.com/coder/coder/pull/20501 |
| sqlc-dev/sqlc#4159 | https://github.com/sqlc-dev/sqlc/pull/4159 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
|
Oct 29, 2025
| https://github.com/coder/sqlc/pull/1#ref-pullrequest-3565281434 |
|
fix: switch to coder/sqlc fork
coder/coder#20536
| https://github.com/coder/coder/pull/20536 |
| mafredri | https://github.com/mafredri |
|
Oct 29, 2025
| https://github.com/coder/sqlc/pull/1#ref-commit-a8849ce |
|
| https://github.com/mafredri |
| build: switch to coder/sqlc fork | https://github.com/coder/coder/commit/a8849cea2079c2854f9e1af8db5c1cd33fc43087 |
| a8849ce | https://github.com/coder/coder/commit/a8849cea2079c2854f9e1af8db5c1cd33fc43087 |
| coder/sqlc#1 | https://github.com/coder/sqlc/pull/1 |
| #20501 | https://github.com/coder/coder/pull/20501 |
| sqlc-dev/sqlc#4159 | https://github.com/sqlc-dev/sqlc/pull/4159 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| force-pushed | https://github.com/coder/sqlc/compare/5f673219b606e61d36ef79e04f34367551c4f86a..7c1a82bce023a2a5226ef4ff9db030b6529cd2ee |
| 5f67321 | https://github.com/coder/sqlc/commit/5f673219b606e61d36ef79e04f34367551c4f86a |
| 7c1a82b | https://github.com/coder/sqlc/commit/7c1a82bce023a2a5226ef4ff9db030b6529cd2ee |
|
Compare
| https://github.com/coder/sqlc/compare/5f673219b606e61d36ef79e04f34367551c4f86a..7c1a82bce023a2a5226ef4ff9db030b6529cd2ee |
| October 29, 2025 12:09 | https://github.com/coder/sqlc/pull/1#event-20577949077 |
| mafredri | https://github.com/mafredri |
|
Oct 29, 2025
| https://github.com/coder/sqlc/pull/1#ref-commit-b77ef1f |
|
| https://github.com/mafredri |
| build: switch to coder/sqlc fork | https://github.com/coder/coder/commit/b77ef1f551149d7f05ec9c63e8fb30359e6a8848 |
| b77ef1f | https://github.com/coder/coder/commit/b77ef1f551149d7f05ec9c63e8fb30359e6a8848 |
| coder/sqlc#1 | https://github.com/coder/sqlc/pull/1 |
| #20501 | https://github.com/coder/coder/pull/20501 |
| sqlc-dev/sqlc#4159 | https://github.com/sqlc-dev/sqlc/pull/4159 |
| mafredri | https://github.com/mafredri |
|
Oct 29, 2025
| https://github.com/coder/sqlc/pull/1#ref-commit-f2d1ee0 |
|
| https://github.com/mafredri |
| build: switch to coder/sqlc fork | https://github.com/coder/coder/commit/f2d1ee0a669cb4f9d42e8098ca0808c301ce8800 |
| f2d1ee0 | https://github.com/coder/coder/commit/f2d1ee0a669cb4f9d42e8098ca0808c301ce8800 |
| coder/sqlc#1 | https://github.com/coder/sqlc/pull/1 |
| #20501 | https://github.com/coder/coder/pull/20501 |
| sqlc-dev/sqlc#4159 | https://github.com/sqlc-dev/sqlc/pull/4159 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
|
Oct 29, 2025
| https://github.com/coder/sqlc/pull/1#pullrequestreview-3393059190 |
|
View reviewed changes
| https://github.com/coder/sqlc/pull/1/files/7c1a82bce023a2a5226ef4ff9db030b6529cd2ee |
| internal/endtoend/testdata/cte_ambiguous_column/postgresql/stdlib/query.sql | https://github.com/coder/sqlc/pull/1/files/7c1a82bce023a2a5226ef4ff9db030b6529cd2ee#diff-1dce9dcafbadacaa0f346a08ed9f7c531d757e2cd765781931a9471790c7bf40 |
| mafredri | https://github.com/mafredri |
| Oct 29, 2025 | https://github.com/coder/sqlc/pull/1#discussion_r2472803268 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/sqlc/pull/1 |
| mafredri | https://github.com/mafredri |
|
Oct 29, 2025
| https://github.com/coder/sqlc/pull/1#ref-commit-43145d3 |
|
| https://github.com/mafredri |
| build: switch to coder/sqlc fork | https://github.com/coder/coder/commit/43145d35a35e2be7f08c0334ddbae5ae52d8022b |
| 43145d3 | https://github.com/coder/coder/commit/43145d35a35e2be7f08c0334ddbae5ae52d8022b |
| coder/sqlc#1 | https://github.com/coder/sqlc/pull/1 |
| #20501 | https://github.com/coder/coder/pull/20501 |
| sqlc-dev/sqlc#4159 | https://github.com/sqlc-dev/sqlc/pull/4159 |
| mafredri | https://github.com/mafredri |
|
Oct 29, 2025
| https://github.com/coder/sqlc/pull/1#ref-commit-303e9ef |
|
| https://github.com/mafredri |
| fix: switch to coder/sqlc fork ( | https://github.com/coder/coder/commit/303e9ef7def51f275061f7230c75d0e491654386 |
| #20536 | https://github.com/coder/coder/pull/20536 |
| ) | https://github.com/coder/coder/commit/303e9ef7def51f275061f7230c75d0e491654386 |
| 303e9ef | https://github.com/coder/coder/commit/303e9ef7def51f275061f7230c75d0e491654386 |
| coder/sqlc#1 | https://github.com/coder/sqlc/pull/1 |
| #20501 | https://github.com/coder/coder/pull/20501 |
| sqlc-dev/sqlc#4159 | https://github.com/sqlc-dev/sqlc/pull/4159 |
| mafredri | https://github.com/mafredri |
|
Oct 29, 2025
| https://github.com/coder/sqlc/pull/1#ref-commit-859e94d |
|
| https://github.com/mafredri |
| fix: deprecate codersdk.AITaskPromptParameterName and reduce usage ( | https://github.com/coder/coder/commit/859e94d67a8197c258c8d4fa45d54086558edfad |
| #… | https://github.com/coder/coder/pull/20501 |
| 859e94d | https://github.com/coder/coder/commit/859e94d67a8197c258c8d4fa45d54086558edfad |
| …20501 | https://github.com/coder/coder/pull/20501 |
| coder/sqlc#1 | https://github.com/coder/sqlc/pull/1 |
| coder/internal#979 | https://github.com/coder/internal/issues/979 |
| coder/internal#973 | https://github.com/coder/internal/issues/973 |
| https://github.co/hiddenchars |
| https://github.com/coder/sqlc/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fsqlc%2Fpull%2F1 |
| Please reload this page | https://github.com/coder/sqlc/pull/1 |
|
| https://github.com/mafredri |
|
| 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 |