Gavin Hamill <gdh@xxxxxxxxxxxxx> writes: > Having successfully got pg 8.1.3 to run, I'm simply trying to pg_restore > a dump from our live server. However, even very soon into the restore, I > get these messages from the autovacuum daemon once per minute: > 2006-03-28 14:15:35 BSTERROR: out of memory > 2006-03-28 14:15:35 BSTDETAIL: Failed on request of size 268435452. What have you got maintenance_work_mem set to? If it's more than 1Gb, back it off --- 8.1.3's VACUUM command doesn't handle that nicely. (It's unlikely you really want it that high anyway.) You might wanna put a space at the end of your log_line_prefix, too... regards, tom lane