Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

mbutils.c

  • Tom Lane's avatar
    c26ffb1e
    Fix SetClientEncoding() to maintain a cache of previously selected encoding · c26ffb1e
    Tom Lane authored
    conversion functions.  This allows transaction rollback to revert to a
    previous client_encoding setting without doing fresh catalog lookups.
    I believe that this explains and fixes the recent report of "failed to commit
    client_encoding" failures.
    
    This bug is present in 8.3.x, but it doesn't seem prudent to back-patch
    the fix, at least not till it's had some time for field testing in HEAD.
    
    In passing, remove SetDefaultClientEncoding(), which was used nowhere.
    c26ffb1e
    History
    Fix SetClientEncoding() to maintain a cache of previously selected encoding
    Tom Lane authored
    conversion functions.  This allows transaction rollback to revert to a
    previous client_encoding setting without doing fresh catalog lookups.
    I believe that this explains and fixes the recent report of "failed to commit
    client_encoding" failures.
    
    This bug is present in 8.3.x, but it doesn't seem prudent to back-patch
    the fix, at least not till it's had some time for field testing in HEAD.
    
    In passing, remove SetDefaultClientEncoding(), which was used nowhere.