• Joe Conway's avatar
    Fix performance regression in dblink connection speed. · d6ca510d
    Joe Conway authored
    Previous commit e5de6012 modified dblink
    to ensure client encoding matched the server. However the added
    PQsetClientEncoding() call added significant overhead. Restore original
    performance in the common case where client encoding already matches
    server encoding by doing nothing in that case. Applies to all active
    branches.
    
    Issue reported and work sponsored by Zonar Systems.
    d6ca510d
dblink.c 73.2 KB