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

Re: pgsql functions and transactions?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Betsy Barker <betsy(dot)barker(at)supportservicesinc(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: pgsql functions and transactions?
Date: 2004-08-27 03:09:12
Message-ID: 5564.1093576152@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-novice
Betsy Barker <betsy(dot)barker(at)supportservicesinc(dot)com> writes:
> WARNING:  ShmemAlloc: out of memory
> WARNING:  Error occurred while executing PL/pgSQL function get_facility_percentiles
> WARNING:  line 37 at execute statement
> ERROR:  LockAcquire: lock table 1 is out of memory

Hmm, are you touching a whole lot of different tables in one
transaction?  If so you may need to raise the max_locks_per_transaction
parameter.

If that doesn't help, we need more details about what you're doing.

			regards, tom lane

In response to

Responses

pgsql-novice by date

Next:From: Josh BerkusDate: 2004-08-27 04:46:01
Subject: Re: pgsql functions and transactions?
Previous:From: Luiz K. MatsumuraDate: 2004-08-27 00:05:03
Subject: Re: DISTINCT ordering

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