Gunnlaugur Þór Briem  committed 5c1dd21

Add note on PostgreSQL config for test runs

Several tests on PostgreSQL depend on English-language text search
config being the default in the test DB. This adds a note about that.

  • Participants
  • Parent commits aa12fdb
  • Branches master

Comments (0)

Files changed (1)

File README.unittests.rst

     requires using a test.cfg configuration file as the cmd.exe shell won't
     properly pass the URL arguments into the nose test runner.
+    POSTGRESQL: Full-text search configuration should be set to English, else
+    several tests of ``.match()`` will fail. This can be set (if it isn't so
+    already) with:
+     ALTER DATABASE test SET default_text_search_config = 'pg_catalog.english'