From 6cb949d371ab5bc0056fa347438c4c7a9e855a34 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Mon, 1 Nov 2010 23:43:38 +0000 Subject: [PATCH] Try to install the hstore type in the test database. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index aa00abc5..9caeb914 100644 --- a/Makefile +++ b/Makefile @@ -12,4 +12,9 @@ check: dropdb $(TESTDB) >/dev/null; \ fi createdb $(TESTDB) + # Note to packagers: this requires the postgres user running the test + # to be a superuser. You may change this line to use the superuser only + # to install the contrib. Feel free to suggest a better way to set up the + # testing environment (as the current is enough for development). + psql -f `pg_config --sharedir`/contrib/hstore.sql $(TESTDB) PSYCOPG2_TESTDB=$(TESTDB) $(PYTHON) runtests.py --verbose