Neil Fraser <neil(at)digitalroutes(dot)co(dot)uk> writes:
> One of our PostgreSQL databases has been corrupted somehow. Whenever we
> try to open it or access it the 'postmaster' task suddenly goes to 99%
> CPU usage, it rapidly eats up all memory, then crashes our server.
Hm. Can you attach to the backend task with a debugger and get a stack
trace to show where it's going nuts?
regards, tom lane