Let’s say you’re using Rails with PostgreSQL and the TSearch2 built-in full text search engine. Did you notice that every time you run rake test, that depends on db:test:prepare, which depends on db:test:clone, which depends on db:test:purge, which drops the database and creates it again? Along with your dropped database goes the TSearch2 functions that wrap the C libraries that do the actual work