I was having trouble with an app that uses postgres on Ubuntu 8.10, so I 
removed all traces of postgres, and for good measure,I removed all 
postgres folders from /etc, thinking they would be recreated by 
reinstalling . I guessed wrong. I was able to reinstall, minus the 
necessary folders and config files in /etc. Is there a way to recreate 
the postgres folders , with the configs?