"Peter" <peter@xxxxxxxxxxxxxxxx> writes: > I have no triggers defined on any of the tables, and no foreign keys that > could cause cascaded updates and stuff. Care to see full text of the proc? > It's pl/PgPerlU If there's no triggers involved then it sounds like a memory leak. What PG version is this? If it's current then we'd like a test case, yes. regards, tom lane