Skip to content
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

Move dynamic fast-forward logic (used for COPY ... FROM STDIN) to execute after session variables are set on the backend connection #4874

Closed
rahim-kanji opened this issue Mar 18, 2025 · 0 comments · Fixed by #4875
Assignees

Comments

@rahim-kanji
Copy link
Collaborator

Description

With PostgreSQL session parameters now being tracked, we can move the dynamic fast-forward logic (used for COPY ... FROM STDIN) to execute after session variables are set on the backend connection.

Why this change?

Previously, since session parameters weren’t tracked, we used any available connection from the pool and invoked dynamic fast-forward on it. Now that session parameters are tracked, we can simplify and streamline this logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant