René's URL Explorer Experiment


Title: Fix COPY to STDOUT/from STDIN leaving the connection stuck by anandghegde · Pull Request #1636 · dbcli/pgcli · GitHub

Open Graph Title: Fix COPY to STDOUT/from STDIN leaving the connection stuck by anandghegde · Pull Request #1636 · dbcli/pgcli

X Title: Fix COPY to STDOUT/from STDIN leaving the connection stuck by anandghegde · Pull Request #1636 · dbcli/pgcli

Description: Postgres CLI with autocompletion and syntax highlighting - Fix COPY to STDOUT/from STDIN leaving the connection stuck by anandghegde · Pull Request #1636 · dbcli/pgcli

Open Graph Description: Description Running copy ... to stdout or copy ... from stdin (instead of \copy) broke the session. psycopg's cursor.execute() raises "COPY cannot be used with this method; use copy() inst...

X Description: Description Running copy ... to stdout or copy ... from stdin (instead of \copy) broke the session. psycopg's cursor.execute() raises "COPY cannot be used with this method; use cop...

Opengraph URL: https://github.com/dbcli/pgcli/pull/1636

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:014483d1-f5d2-79ca-3e67-bb34d511c406
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA58C:26A1D6:CC5535:1076D96:6B063F19
html-safe-nonce545840bd6bcf419c3b0f386ab126f9cf5ab3f62e4c1e458a67f6847eb8fb4872
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNThDOjI2QTFENjpDQzU1MzU6MTA3NkQ5Njo2QjA2M0YxOSIsInZpc2l0b3JfaWQiOiI5NzgxNTc2Njc5MjU1MDc4NjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac790baea2dd23e04a51075a0b12551d349324fd98df8bbe5c8607bc73406cba25
hovercard-subject-tagpull_request:4523368138
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/dbcli/pgcli/1636/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0f9f0ec4eea0cf98dc708e5df2c9c2ef98a24e7897ee2d8d31fe2d4296b1195c/dbcli/pgcli/pull/1636
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0f9f0ec4eea0cf98dc708e5df2c9c2ef98a24e7897ee2d8d31fe2d4296b1195c/dbcli/pgcli/pull/1636
og:image:altDescription Running copy ... to stdout or copy ... from stdin (instead of \copy) broke the session. psycopg's cursor.execute() raises "COPY cannot be used with this method; use copy() inst...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameanandghegde
hostnamegithub.com
expected-hostnamegithub.com
Nonedcf72c457c022486d23c3cbb0dd21aba537a87611ca9ddabd1799cf2eaa9b297
turbo-cache-controlno-cache
go-importgithub.com/dbcli/pgcli git https://github.com/dbcli/pgcli.git
octolytics-dimension-user_id11810727
octolytics-dimension-user_logindbcli
octolytics-dimension-repository_id25126616
octolytics-dimension-repository_nwodbcli/pgcli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id25126616
octolytics-dimension-repository_network_root_nwodbcli/pgcli
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
release0f38f5735226749ec5e08a8649dce4cb2613d9ad
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/dbcli/pgcli/pull/1636#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdbcli%2Fpgcli%2Fpull%2F1636
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdbcli%2Fpgcli%2Fpull%2F1636
Sign uphttps://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=dbcli%2Fpgcli
Reloadhttps://github.com/dbcli/pgcli/pull/1636
Reloadhttps://github.com/dbcli/pgcli/pull/1636
Reloadhttps://github.com/dbcli/pgcli/pull/1636
dbclihttps://github.com/dbcli
pgclihttps://github.com/dbcli/pgcli
Codehttps://github.com/dbcli/pgcli
Issues27 (27)https://github.com/dbcli/pgcli/issues
Pull requests31 (31)https://github.com/dbcli/pgcli/pulls
Discussionshttps://github.com/dbcli/pgcli/discussions
Actionshttps://github.com/dbcli/pgcli/actions
Wikihttps://github.com/dbcli/pgcli/wiki
Security and qualityhttps://github.com/dbcli/pgcli/security
Insightshttps://github.com/dbcli/pgcli/insights
https://github.com/dbcli/pgcli
anandghegdehttps://github.com/anandghegde
dbcli:mainhttps://github.com/dbcli/pgcli/tree/main
anandghegde:fix-copy-stdout-transactionhttps://github.com/anandghegde/pgcli/tree/fix-copy-stdout-transaction
Conversationhttps://github.com/dbcli/pgcli/pull/1636
Commits5 (5)https://github.com/dbcli/pgcli/pull/1636/commits
Checkshttps://github.com/dbcli/pgcli/pull/1636/checks
Files changedhttps://github.com/dbcli/pgcli/pull/1636/files
Fix COPY to STDOUT/from STDIN leaving the connection stuckhttps://github.com/dbcli/pgcli/pull/1636#top
anandghegdehttps://github.com/anandghegde
dbcli:mainhttps://github.com/dbcli/pgcli/tree/main
anandghegde:fix-copy-stdout-transactionhttps://github.com/anandghegde/pgcli/tree/fix-copy-stdout-transaction
https://github.com/anandghegde
anandghegdehttps://github.com/anandghegde
Sep 14, 2026https://github.com/dbcli/pgcli/pull/1636#issue-5445795063
#1505https://github.com/dbcli/pgcli/issues/1505
Please reload this pagehttps://github.com/dbcli/pgcli/pull/1636
https://github.com/j-bennet
j-bennethttps://github.com/j-bennet
Sep 14, 2026 https://github.com/dbcli/pgcli/pull/1636#pullrequestreview-5199905640
View reviewed changes https://github.com/dbcli/pgcli/pull/1636/files
pgcli/pgexecute.pyhttps://github.com/dbcli/pgcli/pull/1636/files#diff-14b9b3f39c0174a8fa99d5055ad659b491ae5cd5bb0e920036a69a36eba15e4b
j-bennethttps://github.com/j-bennet
Sep 14, 2026https://github.com/dbcli/pgcli/pull/1636#discussion_r4007004639
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/dbcli/pgcli/pull/1636
anandghegdehttps://github.com/anandghegde
Sep 14, 2026https://github.com/dbcli/pgcli/pull/1636#discussion_r4007664106
Please reload this pagehttps://github.com/dbcli/pgcli/pull/1636
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
ec70d50https://github.com/dbcli/pgcli/commit/ec70d50ee780f60d0773887aa09580d28efeb26a
Please reload this pagehttps://github.com/dbcli/pgcli/pull/1636
anandghegdehttps://github.com/anandghegde
Oct 2, 2026https://github.com/dbcli/pgcli/pull/1636#discussion_r4165753573
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/dbcli/pgcli/pull/1636
https://github.com/UsmanGhias
UsmanGhiashttps://github.com/UsmanGhias
Sep 15, 2026 https://github.com/dbcli/pgcli/pull/1636#pullrequestreview-5206367953
View reviewed changes https://github.com/dbcli/pgcli/pull/1636/files
UsmanGhiashttps://github.com/UsmanGhias
https://github.com/dbcli/pgcli/pull/1636#pullrequestreview-5206367953
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/dbcli/pgcli/pull/1636
https://github.com/anandghegde
anandghegdehttps://github.com/anandghegde
Sep 15, 2026https://github.com/dbcli/pgcli/pull/1636#issuecomment-5680435546
Please reload this pagehttps://github.com/dbcli/pgcli/pull/1636
https://github.com/anandghegde
anandghegdehttps://github.com/anandghegde
force-pushedhttps://github.com/dbcli/pgcli/compare/ec70d50ee780f60d0773887aa09580d28efeb26a..c1b46a68a7af1b36aa81b26ce14bea2f157b9b37
ec70d50https://github.com/dbcli/pgcli/commit/ec70d50ee780f60d0773887aa09580d28efeb26a
c1b46a6https://github.com/dbcli/pgcli/commit/c1b46a68a7af1b36aa81b26ce14bea2f157b9b37
Compare https://github.com/dbcli/pgcli/compare/ec70d50ee780f60d0773887aa09580d28efeb26a..c1b46a68a7af1b36aa81b26ce14bea2f157b9b37
September 15, 2026 16:38https://github.com/dbcli/pgcli/pull/1636#event-31188529564
diego-feito-storihttps://github.com/diego-feito-stori
Sep 15, 2026 https://github.com/dbcli/pgcli/pull/1636#ref-commit-bed5a18
https://github.com/DiegoDAF
Close a stray COPY so the session survives copy to stdouthttps://github.com/DiegoDAF/pgcli.daf/commit/bed5a181526433af0c6e0b77e020667241472960
bed5a18https://github.com/DiegoDAF/pgcli.daf/commit/bed5a181526433af0c6e0b77e020667241472960
dbcli#1636https://github.com/dbcli/pgcli/pull/1636
anandghegdehttps://github.com/anandghegde
September 26, 2026 00:14https://github.com/dbcli/pgcli/pull/1636#commits-pushed-96792a3
https://github.com/anandghegde
Fix COPY to STDOUT/from STDIN leaving the connection stuckhttps://github.com/dbcli/pgcli/pull/1636/commits/96792a34c09ba73e4c10bd5316cddaec1064ba81
96792a3https://github.com/dbcli/pgcli/pull/1636/commits/96792a34c09ba73e4c10bd5316cddaec1064ba81
dbcli#1505https://github.com/dbcli/pgcli/issues/1505
https://github.com/anandghegde
Test that non-COPY ProgrammingErrors are raised unchangedhttps://github.com/dbcli/pgcli/pull/1636/commits/bf256c1c08cd9aec40da6f1a8efca2add871ad42
bf256c1https://github.com/dbcli/pgcli/pull/1636/commits/bf256c1c08cd9aec40da6f1a8efca2add871ad42
https://github.com/anandghegde
anandghegdehttps://github.com/anandghegde
force-pushedhttps://github.com/dbcli/pgcli/compare/c1b46a68a7af1b36aa81b26ce14bea2f157b9b37..bf256c1c08cd9aec40da6f1a8efca2add871ad42
c1b46a6https://github.com/dbcli/pgcli/commit/c1b46a68a7af1b36aa81b26ce14bea2f157b9b37
bf256c1https://github.com/dbcli/pgcli/commit/bf256c1c08cd9aec40da6f1a8efca2add871ad42
Compare https://github.com/dbcli/pgcli/compare/c1b46a68a7af1b36aa81b26ce14bea2f157b9b37..bf256c1c08cd9aec40da6f1a8efca2add871ad42
September 25, 2026 18:44https://github.com/dbcli/pgcli/pull/1636#event-31857776094
https://github.com/anandghegde
anandghegdehttps://github.com/anandghegde
Oct 11, 2026https://github.com/dbcli/pgcli/pull/1636#issuecomment-6105659232
Please reload this pagehttps://github.com/dbcli/pgcli/pull/1636
https://github.com/anandghegde
Merge remote-tracking branch 'upstream/main' into fix-copy-stdout-tra…https://github.com/dbcli/pgcli/pull/1636/commits/b993c436782f572a4aad435a6973ecd8693e064e
b993c43https://github.com/dbcli/pgcli/pull/1636/commits/b993c436782f572a4aad435a6973ecd8693e064e
https://github.com/DiegoDAF
DiegoDAFhttps://github.com/DiegoDAF
Nov 5, 2026https://github.com/dbcli/pgcli/pull/1636#issuecomment-6663705228
Please reload this pagehttps://github.com/dbcli/pgcli/pull/1636
anandghegdehttps://github.com/anandghegde
November 10, 2026 14:27https://github.com/dbcli/pgcli/pull/1636#commits-pushed-deadbac
https://github.com/anandghegde
Merge remote-tracking branch 'upstream/main' into fix-copy-stdout-tra…https://github.com/dbcli/pgcli/pull/1636/commits/deadbacd77d750698e3e4cc5a0cdc6e5c302d75d
deadbachttps://github.com/dbcli/pgcli/pull/1636/commits/deadbacd77d750698e3e4cc5a0cdc6e5c302d75d
https://github.com/anandghegde
https://github.com/claude
Cancel COPY TO STDOUT before draining it outside a transactionhttps://github.com/dbcli/pgcli/pull/1636/commits/76d4da974ed580150960b05787f3c19e38de2bbd
76d4da9https://github.com/dbcli/pgcli/pull/1636/commits/76d4da974ed580150960b05787f3c19e38de2bbd
https://github.com/anandghegde
anandghegdehttps://github.com/anandghegde
Nov 10, 2026https://github.com/dbcli/pgcli/pull/1636#issuecomment-6763223630
@DiegoDAFhttps://github.com/DiegoDAF
76d4da9https://github.com/dbcli/pgcli/commit/76d4da974ed580150960b05787f3c19e38de2bbd
Please reload this pagehttps://github.com/dbcli/pgcli/pull/1636
https://github.co/hiddenchars
https://github.com/dbcli/pgcli/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%2Fdbcli%2Fpgcli%2Fpull%2F1636
https://github.com/j-bennet
j-bennet https://github.com/j-bennet
https://github.com/dbcli/pgcli/pull/1636/files/371ebc6a577fa6a3b9caca1d6f7fb470a9e453bb
https://github.com/UsmanGhias
UsmanGhias https://github.com/UsmanGhias
https://github.com/dbcli/pgcli/pull/1636/files/ec70d50ee780f60d0773887aa09580d28efeb26a
Please reload this pagehttps://github.com/dbcli/pgcli/pull/1636
Use an incorrect copy command syntax copy instead of \copy and cannot quit app. https://github.com/dbcli/pgcli/issues/1505
Please reload this pagehttps://github.com/dbcli/pgcli/pull/1636
https://github.com/anandghegde
https://github.com/DiegoDAF
https://github.com/j-bennet
https://github.com/UsmanGhias
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.