René's URL Explorer Experiment


Title: Strip psql meta-commands from schema files (fixes #4065) by kyleconroy · Pull Request #4390 · sqlc-dev/sqlc · GitHub

Open Graph Title: Strip psql meta-commands from schema files (fixes #4065) by kyleconroy · Pull Request #4390 · sqlc-dev/sqlc

X Title: Strip psql meta-commands from schema files (fixes #4065) by kyleconroy · Pull Request #4390 · 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: pg_dump 17.6+ (backported to 13.22, 14.19, 15.14, 16.10) emits \restrict/\unrestrict meta-commands that are valid psql syntax but not valid SQL, causing sqlc to fail when parsing schema.sql from pg...

X Description: pg_dump 17.6+ (backported to 13.22, 14.19, 15.14, 16.10) emits \restrict/\unrestrict meta-commands that are valid psql syntax but not valid SQL, causing sqlc to fail when parsing schema.sql from pg...

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

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:cde32199-2359-f53b-8b75-0ba3ece761af
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAABC:E21C4:6960EC1:932B527:6A502248
html-safe-nonce8a04e8a42b373df43cbc419f48baf6bc1d1708c0252f9a860d1002ad6d51472d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUJDOkUyMUM0OjY5NjBFQzE6OTMyQjUyNzo2QTUwMjI0OCIsInZpc2l0b3JfaWQiOiI3NDI1ODM5NzgzMjk1ODUzMTI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca68580a88b657255a9d2171dea95b7ee48d660b736617ecc8b9a262a4c783075
hovercard-subject-tagpull_request:3552279280
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/4390/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f7caa35d9eed67a63b73e15a999be061176eb35c0c60d4742befcdf7682169fc/sqlc-dev/sqlc/pull/4390
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f7caa35d9eed67a63b73e15a999be061176eb35c0c60d4742befcdf7682169fc/sqlc-dev/sqlc/pull/4390
og:image:altpg_dump 17.6+ (backported to 13.22, 14.19, 15.14, 16.10) emits \restrict/\unrestrict meta-commands that are valid psql syntax but not valid SQL, causing sqlc to fail when parsing schema.sql from pg...
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/4390#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F4390
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%2F4390
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/4390
Reloadhttps://github.com/sqlc-dev/sqlc/pull/4390
Reloadhttps://github.com/sqlc-dev/sqlc/pull/4390
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4390
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/add-comment-prefix-regex-HeATnhttps://github.com/sqlc-dev/sqlc/tree/claude/add-comment-prefix-regex-HeATn
Conversationhttps://github.com/sqlc-dev/sqlc/pull/4390
Commits1 (1)https://github.com/sqlc-dev/sqlc/pull/4390/commits
Checkshttps://github.com/sqlc-dev/sqlc/pull/4390/checks
Files changedhttps://github.com/sqlc-dev/sqlc/pull/4390/files
Strip psql meta-commands from schema files (fixes #4065)https://github.com/sqlc-dev/sqlc/pull/4390#top
kyleconroyhttps://github.com/kyleconroy
mainhttps://github.com/sqlc-dev/sqlc/tree/main
claude/add-comment-prefix-regex-HeATnhttps://github.com/sqlc-dev/sqlc/tree/claude/add-comment-prefix-regex-HeATn
https://github.com/kyleconroy
kyleconroyhttps://github.com/kyleconroy
Apr 19, 2026https://github.com/sqlc-dev/sqlc/pull/4390#issue-4291283598
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4390
https://github.com/claude
Strip psql meta-commands from schema files (https://github.com/sqlc-dev/sqlc/pull/4390/commits/418b576b0f45d19cb424fe19744f437c6b189c02
fixeshttps://github.com/sqlc-dev/sqlc/pull/4390/commits/418b576b0f45d19cb424fe19744f437c6b189c02
#4065https://github.com/sqlc-dev/sqlc/issues/4065
)https://github.com/sqlc-dev/sqlc/pull/4390/commits/418b576b0f45d19cb424fe19744f437c6b189c02
418b576https://github.com/sqlc-dev/sqlc/pull/4390/commits/418b576b0f45d19cb424fe19744f437c6b189c02
https://github.com/kyleconroy
kyleconroyhttps://github.com/kyleconroy
394bdc7https://github.com/sqlc-dev/sqlc/commit/394bdc796d06f47936a87c50ef98c08c3b4b3173
Apr 19, 2026https://github.com/sqlc-dev/sqlc/pull/4390#event-24652545876
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4390
https://github.com/kyleconroy
kyleconroyhttps://github.com/kyleconroy
April 19, 2026 15:46https://github.com/sqlc-dev/sqlc/pull/4390#event-24652546129
fix(compiler): prevent schema parse failures by ignoring psql meta commands #4082 https://github.com/sqlc-dev/sqlc/pull/4082
fix: robustly strip psql meta commands #4177 https://github.com/sqlc-dev/sqlc/pull/4177
https://github.com/ethanndickson
ethanndicksonhttps://github.com/ethanndickson
May 8, 2026 https://github.com/sqlc-dev/sqlc/pull/4390#ref-pullrequest-4403962780
Merge upstream v1.31.1 coder/sqlc#6 https://github.com/coder/sqlc/pull/6
ethanndicksonhttps://github.com/ethanndickson
May 8, 2026 https://github.com/sqlc-dev/sqlc/pull/4390#ref-commit-f92c8af
https://github.com/ethanndickson
Merge upstream v1.31.1https://github.com/coder/sqlc/commit/f92c8afc290a017724e4d3d303ba5305d67e9bdf
f92c8afhttps://github.com/coder/sqlc/commit/f92c8afc290a017724e4d3d303ba5305d67e9bdf
b807fe9https://github.com/coder/sqlc/commit/b807fe9ef2de1ae2224309651254c0a31e6f38e6
sqlc-dev#4390https://github.com/sqlc-dev/sqlc/pull/4390
sqlc-dev#4065https://github.com/sqlc-dev/sqlc/issues/4065
coder/internal#965https://github.com/coder/internal/issues/965
sqlc-dev#4378https://github.com/sqlc-dev/sqlc/pull/4378
sqlc-dev#4379https://github.com/sqlc-dev/sqlc/pull/4379
ethanndicksonhttps://github.com/ethanndickson
May 8, 2026 https://github.com/sqlc-dev/sqlc/pull/4390#ref-commit-6510f70
https://github.com/ethanndickson
Merge upstream v1.31.1https://github.com/coder/sqlc/commit/6510f7013c41dafc5a47cc0c15604f0d4cbdeaeb
6510f70https://github.com/coder/sqlc/commit/6510f7013c41dafc5a47cc0c15604f0d4cbdeaeb
b807fe9https://github.com/coder/sqlc/commit/b807fe9ef2de1ae2224309651254c0a31e6f38e6
sqlc-dev#4390https://github.com/sqlc-dev/sqlc/pull/4390
sqlc-dev#4065https://github.com/sqlc-dev/sqlc/issues/4065
coder/internal#965https://github.com/coder/internal/issues/965
sqlc-dev#4378https://github.com/sqlc-dev/sqlc/pull/4378
sqlc-dev#4379https://github.com/sqlc-dev/sqlc/pull/4379
ethanndicksonhttps://github.com/ethanndickson
May 8, 2026 https://github.com/sqlc-dev/sqlc/pull/4390#ref-commit-08df6fc
https://github.com/ethanndickson
Merge upstream v1.31.1https://github.com/coder/sqlc/commit/08df6fc0c83ba5c4d2c1829b4fa7ad5e990d5acb
08df6fchttps://github.com/coder/sqlc/commit/08df6fc0c83ba5c4d2c1829b4fa7ad5e990d5acb
b807fe9https://github.com/coder/sqlc/commit/b807fe9ef2de1ae2224309651254c0a31e6f38e6
sqlc-dev#4390https://github.com/sqlc-dev/sqlc/pull/4390
sqlc-dev#4065https://github.com/sqlc-dev/sqlc/issues/4065
coder/internal#965https://github.com/coder/internal/issues/965
sqlc-dev#4378https://github.com/sqlc-dev/sqlc/pull/4378
sqlc-dev#4379https://github.com/sqlc-dev/sqlc/pull/4379
https://github.com/ethanndickson
ethanndicksonhttps://github.com/ethanndickson
May 11, 2026 https://github.com/sqlc-dev/sqlc/pull/4390#ref-pullrequest-4417722920
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/4390#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/4390#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/4390#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%2F4390
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4390
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.