1. 26 Aug, 2017 2 commits
    • Peter Eisentraut's avatar
      pg_test_timing: Some NLS fixes · 2073c641
      Peter Eisentraut authored
      The string "% of total" was marked by xgettext to be a c-format, but it
      is actually not, so mark up the source to prevent that.
      
      Compute the column widths of the final display dynamically based on the
      translated strings, so that translations don't mess up the display
      accidentally.
      2073c641
    • Michael Meskes's avatar
      Make setlocale in ECPG test cases thread aware on Windows. · a772624b
      Michael Meskes authored
      Fix threaded test cases on Windows not to crash in setlocale() which can be
      global or local to a thread on Windows.
      
      Author: Christian Ullrich
      a772624b
  2. 25 Aug, 2017 8 commits
  3. 24 Aug, 2017 7 commits
  4. 23 Aug, 2017 7 commits
  5. 22 Aug, 2017 3 commits
  6. 21 Aug, 2017 5 commits
  7. 20 Aug, 2017 2 commits
  8. 19 Aug, 2017 2 commits
    • Tom Lane's avatar
      Fix possible core dump in parallel restore when using a TOC list. · b1c2d76a
      Tom Lane authored
      Commit 3eb9a5e7 unintentionally introduced an ordering dependency
      into restore_toc_entries_prefork().  The existing coding of
      reduce_dependencies() contains a check to skip moving a TOC entry
      to the ready_list if it wasn't initially in the pending_list.
      This used to suffice to prevent reduce_dependencies() from trying to
      move anything into the ready_list during restore_toc_entries_prefork(),
      because the pending_list stayed empty throughout that phase; but it no
      longer does.  The problem doesn't manifest unless the TOC has been
      reordered by SortTocFromFile, which is how I missed it in testing.
      
      To fix, just add a test for ready_list == NULL, converting the call
      with NULL from a poor man's sanity check into an explicit command
      not to touch TOC items' list membership.  Clarify some of the comments
      around this; in particular, note the primary purpose of the check for
      pending_list membership, which is to ensure that we can't try to restore
      the same item twice, in case a TOC list forces it to be restored before
      its dependency count goes to zero.
      
      Per report from Fabrízio de Royes Mello.  Back-patch to 9.3, like the
      previous commit.
      
      Discussion: https://postgr.es/m/CAFcNs+pjuv0JL_x4+=71TPUPjdLHOXA4YfT32myj_OrrZb4ohA@mail.gmail.com
      b1c2d76a
    • Peter Eisentraut's avatar
      Fix creation of ICU comments for keyword variants · 24620fc5
      Peter Eisentraut authored
      It would create the comment referring to the keyword-less parent
      locale.  This was broken in ddb5fdc0.
      24620fc5
  9. 18 Aug, 2017 1 commit
  10. 17 Aug, 2017 3 commits