ERROR: out of shared memory - But the table is empty - Mailing list pgsql-general

From Stefan Schwarzer
Subject ERROR: out of shared memory - But the table is empty
Date
Msg-id 110F67E5-6A23-48E4-9CB8-F05D0CC79E8D@unep.org
Whole thread Raw
Responses Re: ERROR: out of shared memory - But the table is empty  (raghu ram <raghuchennuru@gmail.com>)
List pgsql-general
Hi there,

not being an expert for Postgres…. I have a Postgis table with the countries of the world. Now, I would like to drop
it.I got the error message: 

     ERROR:  out of shared memory
     HINT:  You might need to increase max_locks_per_transaction.

and thought that it would be easier to drop first all rows, and then drop the empty table.

But it seems that it has a problem with dropping the index:

      DROP INDEX gis.countries_uid;

actually generates that error message.

So, do I need to dig now into the postgres config file? It seems strange to me that Postgres has a problem deleting an
emptytable, though. 

Thanks for any hints.

pgsql-general by date:

Previous
From: David Johnston
Date:
Subject: Re: PostgreSQL limitations question
Next
From: Filipe brandão
Date:
Subject: Re: Python + listen/notify