Fork of http://pqxx.org/development/swapspace/