made exception for debian 6 with postgres 9