Skip site navigation (1) Skip section navigation (2)

Re: Backup Server Error "might need to increase max_locks_per_transaction"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Robert Frantz" <rfrantz(at)cognitronix(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Backup Server Error "might need to increase max_locks_per_transaction"
Date: 2011-08-11 21:31:08
Message-ID: 11242.1313098268@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-novice
"Robert Frantz" <rfrantz(at)cognitronix(dot)com> writes:
> I was able to backup this server using PGAdmin in postgresql 8.4 but now
> that I've migrated to 9.0, I get:
> pg_dump: Error message from server: ERROR:  out of shared memory
> HINT:  You might need to increase max_locks_per_transaction.

> I have tried increasing max_locks_per_transaction first to 1500, then 10000
> and then 50000 with no success.

That should fix it.  Did you remember to restart the server after
adjusting the config file entry?  ("pg_ctl reload" won't do.)
You can verify the active value with "SHOW max_locks_per_transaction".

			regards, tom lane

In response to

pgsql-novice by date

Next:From: Jason Tan Boon TeckDate: 2011-08-12 04:11:04
Subject: Alter table to add foreign key
Previous:From: Robert FrantzDate: 2011-08-11 20:26:33
Subject: Backup Server Error "might need to increase max_locks_per_transaction"

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group