Received: from oscar.eng.cv.net (oscar.eng.cv.net [167.206.9.141]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fBT1lim35839 for ; Fri, 28 Dec 2001 20:47:44 -0500 (EST) (envelope-from marc@oscar.eng.cv.net) Received: (from marc@localhost) by oscar.eng.cv.net (8.11.6/8.11.6) id fBT1lHu15366 for pgsql-sql@postgresql.org; Fri, 28 Dec 2001 20:47:17 -0500 (EST) (envelope-from marc) Date: Fri, 28 Dec 2001 20:47:17 -0500 From: Marc Spitzer To: pgsql-sql@postgresql.org Subject: Re: Begin/Commit Message-ID: <20011228204717.A15342@oscar.eng.cv.net> References: <20011228222730.555C0197395@jamie.edmonton.computalog.com> <16091.1009585573@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <16091.1009585573@sss.pgh.pa.us>; from tgl@sss.pgh.pa.us on Fri, Dec 28, 2001 at 07:26:13PM -0500 X-Archive-Number: 200112/258 X-Sequence-Number: 6080 On Fri, Dec 28, 2001 at 07:26:13PM -0500, Tom Lane wrote: > Linh Luong writes: > > I was wondering is there a limitation in the number of sql stmt that can go > > between a begin and commit. > > No, not as such. > > If you are doing operations that involve foreign-key checks, you may see > performance problems in pre-7.2 releases due to some operations that > walk the list of pending foreign-key triggers. You didn't give enough > info to know if that is a problem, though. > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster Would one of these conditions include deleting a row where there is a field that is used as a foreign-key in another table? Thanks marc