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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-novice by date

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