Introduced FAST FORWARD and DYNAMIC FAST FORWARD for PostgreSQL
Dynamic Fast Forward is specifically designed to handle scenarios like COPY ... 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.
Implemented graceful handling forCOPY IN and COPY BOTH scenarios when queries bypass the initial COPY ... FROM STDIN checks and reach the PGSQL_Connection handler. Instead of triggering an assertion, the system now safely disconnects the client and backend connections to maintain stability.
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