Bruno Mattarollo <bruno(at)web1(dot)greenpeace(dot)org> writes:
> Thanks for the tip. It worked to start the DB but when I issue:
> psql -l
> I can't see my databases :(
You need to set the next transaction ID higher (pg_resetxlog -x).
I'd try 2 billion (2000000000) for starters.
You should probably also be setting the WAL start location (-l)
somewhere past the evidently-already-existing segments ("-l 2,0"
should do, I think).
Needless to say, initdb and reload as soon as you have managed to
get a good dump.
regards, tom lane