-
Notifications
You must be signed in to change notification settings - Fork 983
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
'COPY ... FROM STDIN' Support with Dynamic Fast Forward and Improved Error Handling - v3.0 #4762
Open
rahim-kanji
wants to merge
25
commits into
v3.0
Choose a base branch
from
v3.0_dynamic_fast_forward
base: v3.0
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.
+2,004
−246
Conversation
This file contains 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
…contains row description
Added threshold checks to manage result size
…kend if COPY FROM STDIN bypasses the initial checks and lands here
rahim-kanji
changed the title
PostgreSQL 'COPY ... FROM STDIN' Support with Dynamic Fast Forward and Improved Error Handling
'COPY ... FROM STDIN' Support with Dynamic Fast Forward and Improved Error Handling - v3.0
Nov 26, 2024
rahim-kanji
force-pushed
the
v3.0_dynamic_fast_forward
branch
from
December 3, 2024 20:09
74baf9f
to
7e20a59
Compare
… bundled libraries are prioritized during the build process.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Introduced
FAST FORWARD
andDYNAMIC FAST FORWARD
for PostgreSQLCOPY ... FROM STDIN
, where data streaming to the backend server is required. When such a command is detected, Dynamic Fast Forward mode is automatically activated. After the data transfer is complete, the session seamlessly reverts to Normal mode. This feature is flexible and can be extended to manage similar streaming or data-intensive operations in the future if needed.COPY IN
andCOPY BOTH
scenarios when queries bypass the initialCOPY ... FROM STDIN
checks and reach thePGSQL_Connection
handler. Instead of triggering an assertion, the system now safely disconnects the client and backend connections to maintain stability.COPY OUT
format extraction.Closes #4746