summaryrefslogtreecommitdiff
path: root/README.unittests.rst
diff options
context:
space:
mode:
authorGunnlaugur Þór Briem <gunnlaugur@gmail.com>2014-05-15 21:02:59 +0000
committerGunnlaugur Þór Briem <gunnlaugur@gmail.com>2014-05-15 21:02:59 +0000
commit5c1dd21295760ca28654d43dd1966bb84746049b (patch)
tree87a5de74ffa5d095d5eae2b0dd6e054c85012d07 /README.unittests.rst
parentaa12fdb40e6641cc35e0228a1c38c469afc828f5 (diff)
downloadsqlalchemy-5c1dd21295760ca28654d43dd1966bb84746049b.tar.gz
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.
Diffstat (limited to 'README.unittests.rst')
-rw-r--r--README.unittests.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.unittests.rst b/README.unittests.rst
index 1ab4e9536..99ee1d997 100644
--- a/README.unittests.rst
+++ b/README.unittests.rst
@@ -250,6 +250,12 @@ Additional steps specific to individual databases are as follows::
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'
+
CONFIGURING LOGGING
-------------------