Convert to postgres 8.4

Had to disable ssl, so not quite good for merging yet.