Re: Out of shared memory in postgres 8.4.2 and locks - Mailing list pgsql-performance

From Merlin Moncure
Subject Re: Out of shared memory in postgres 8.4.2 and locks
Date
Msg-id b42b73151003090434yabba5me4489096769d4bc7@mail.gmail.com
Whole thread Raw
In response to Out of shared memory in postgres 8.4.2 and locks  (Vidhya Bondre <meetvbondre@gmail.com>)
Responses Re: Out of shared memory in postgres 8.4.2 and locks
List pgsql-performance
On Tue, Mar 9, 2010 at 4:38 AM, Vidhya Bondre <meetvbondre@gmail.com> wrote:
> Hi All,
>
> We have installed postgres 8.4.2 on production.
>
> We have a parition table structure for one of the table.
>
> when i am drop the master table we get the following error.
>
> drop table table_name cascade;
> WARNING:  out of shared memory
> ERROR:  out of shared memory
> HINT:  You might need to increase max_locks_per_transaction.
>
> FYI : This sql was working fine on Postgres 8.3
>
> Can some one please let me know what is going wrong here.

are you using the same postgresql.conf?  have you created more
partitions?  using advisory locks?

In any event, increase the max_locks_per_transaction setting and
restart the database.

merlin

pgsql-performance by date:

Previous
From: Vidhya Bondre
Date:
Subject: Out of shared memory in postgres 8.4.2 and locks
Next
From: Merlin Moncure
Date:
Subject: Re: Extracting superlatives - SQL design philosophy