Warning, /sdk/cutehmi/external/recipes/i686-w64-mingw32/postgresql/dev/recipes-i686-w64-mingw32-postgresql-1.workaround.PostgreSQL.gettext.txt is written in an unsupported language. File is not indexed.
0001 Problem: 0002 0003 Even if PostgreSQL is configured with `-enable-thread-safety` option and 0004 PQisthreadsafe() returns 1, when two (or more) threads attempt to open database 0005 connection in parallel _libpq_ library causes a crash on Windows. 0006 0007 Investigation: 0008 0009 The crash is caused precisely by call to libpq_gettext() in pqWaitTimed() 0010 function (file: `fe-misc.c`). It comes out that _gettext_ functions are not 0011 thread-safe on Windows, thus all other pieces of code, where gettext has been 0012 used may be affected. 0013 0014 Workaround: 0015 0016 A workaround is to disable NLS (native language support), which effectively 0017 turns off _gettext_. 0018 0019 Snippet: 0020