-
Notifications
You must be signed in to change notification settings - Fork 4.7k
feat(sql) add PostgreSQL COPY support (excluding CopyBoth) #23350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
gohryt
wants to merge
56
commits into
oven-sh:main
Choose a base branch
from
gohryt:gohryt-1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 14 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
58eb89a
Use correct LLVM version
gohryt 4e02d47
Fix linting
gohryt b3d7129
Add zed settings
gohryt 6ad42f7
Add COPY support
gohryt 1d53572
Fix ASAN leak
gohryt 65890e1
Replace local configuration with path relative to project root
gohryt f8d5139
Update sql.d.ts to follow implementation changes
gohryt f6e9fde
Update sql.d.ts to follow implementation changes
gohryt 3165a59
Fix schema-qualified table quoting in copyTo
gohryt 3af329b
Prevent double-free and leaks when reusing CopyInResponse
gohryt 841a5bf
Avoid logging at ts code
gohryt 6694a41
Migrate tests from local repo
gohryt f9d720d
Fix text/CSV COPY rows bypass maxBytes & progress tracking
gohryt d136c61
Fix don’t coerce copy limits with | 0.
gohryt d943356
I hate it
gohryt 39ee964
Fix await addToBatch for raw string chunks in sync iterable loop.
gohryt 87995d1
Fixes related to AI audit
gohryt 68c2995
Fixes related to AI audit
gohryt 0756879
Fixes related to AI audit
gohryt 36155b6
Fixes related to AI audit
gohryt 66c0421
Fixes related to AI audit
gohryt 504ef38
Fixes related to AI audit
gohryt d9798bf
Fixes related to AI audit
gohryt ed06c16
Merge branch 'main' into gohryt-1
gohryt 50f34c7
Fixes related to AI audit
gohryt f1c0184
Fixes related to AI audit
gohryt c1c84cf
Merge branch 'main' into gohryt-1
gohryt 54455f6
Merge branch 'main' into gohryt-1
gohryt 1acc43b
Merge branch 'main' into gohryt-1
gohryt 06c1665
Revert "Use correct LLVM version"
gohryt 11bfab3
Make it work with zig 0.15.2, fixes related to ai audit
gohryt 549f56f
Replace direct zig and zls path with direnv
gohryt a38eae8
Merge branch 'main' into gohryt-1
gohryt 8899ef7
Cleanup tests
gohryt b65be62
Merge branch 'main' into gohryt-1
gohryt 53dfd5b
Fix tests for updated main
gohryt d3743ec
Cleanup for duplicating code, rework errors, handle large inputs
gohryt 7dce80c
Fixes related to AI audit
gohryt 2ad3b3c
Fixes related to AI audit
gohryt aa91385
Fixes related to AI audit
gohryt 4b6cc5f
Fixes related to AI audit
gohryt 70a1871
Fixes related to AI audit
gohryt 9d51e90
Avoid typing to any
gohryt ba95f44
Fixes related to AI audit
gohryt 951dfd9
Fixes related to AI audit
gohryt 9ffce71
Fix typing on ts side
gohryt 2f7f0f0
Fixes related to AI audit
gohryt efdfb54
Fixes related to AI audit
gohryt b528a2e
Fixes related to AI audit
gohryt 59674c1
Fixes related to AI audit
gohryt 9fe79fd
Fixes related to AI audit
gohryt 01f88f8
Fixes related to AI audit
gohryt 6f84feb
Fixes related to AI audit
gohryt 6b5a71f
Fixes related to AI audit
gohryt dc5b996
Fixes related to AI audit
gohryt 533f607
Fixes related to AI audit
gohryt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,6 +18,7 @@ | |
| .vscode/clang* | ||
| .vscode/cpp* | ||
| .zig-cache | ||
| .ccls-cache | ||
| .bake-debug | ||
| *.a | ||
| *.bc | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
| "lsp": { | ||
| "zls": { | ||
| "binary": { | ||
| "path": "/home/gohryt/Documents/github.com/gohryt/bun/vendor/zig/zls" | ||
| }, | ||
| "settings": { | ||
| "zig_exe_path": "/home/gohryt/Documents/github.com/gohryt/bun/vendor/zig/zig", | ||
| "zig_lib_path": "/home/gohryt/Documents/github.com/gohryt/bun/vendor/zig/lib", | ||
| "build_on_save_args": ["-Dgenerated-code=./build/debug/codegen", "--watch", "-fincremental"] | ||
| } | ||
| } | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.