3 ms·
I had a similar issue using Django+PostgreSQL on Ubuntu 11. Running the test suite was taking 10s of seconds in that combination which wasn't too bad but hurt m
by hartror 15y ago
I had a similar issue using Django+PostgreSQL on Ubuntu 11. Running the test suite was taking 10s of seconds in that combination which wasn't too bad but hurt my test->fix->test cycle when debugging PostgreSQL related issues (during normal dev I run the test suite in a in memory SQLite database).
Took a little time to work it out as I am new to PostgreSQL but it was worth it to avoid a pause in the problem solving cycle.
Problem and solution explained on my blog: http://www.roryhart.net/code/slow-create-database-with-postgresql/ http://www.roryhart.net/code/slow-create-database-with-postg...