Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 250FC633805 for ; Thu, 2 Jul 2009 06:13:21 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 89995-08 for ; Thu, 2 Jul 2009 06:13:15 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from titania.wxnz.net (titania.wxnz.net [58.28.4.13]) by mail.postgresql.org (Postfix) with ESMTP id D33E6633356 for ; Thu, 2 Jul 2009 06:13:19 -0300 (ADT) Received: from gonzo (ip-118-90-138-224.xdsl.xnet.co.nz [118.90.138.224]) by titania.wxnz.net (Postfix) with ESMTP id 0A65D109803E for ; Thu, 2 Jul 2009 21:13:15 +1200 (NZST) Received: from news by gonzo with local (Exim 4.69) (envelope-from ) id 1MMILp-0000tq-Lr for pgsql-php@postgresql.org; Thu, 02 Jul 2009 21:13:05 +1200 To: pgsql-php@postgresql.org Path: not-for-mail From: Jasen Betts Newsgroups: gmane.comp.db.postgresql.php Subject: Re: Begin block Date: 2 Jul 2009 09:13:05 GMT Organization: Dis (not Dat) Organisation Lines: 9 Message-ID: References: <2A0AB159-CE44-4824-A77E-12BE538D7C77@indiana.edu> NNTP-Posting-Host: localhost Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: reversiblemaps.ath.cx 1246525985 2838 127.0.0.1 (2 Jul 2009 09:13:05 GMT) X-Face: ?)Aw4rXwN5u0~$nqKj`xPz>xHCwgi^q+^?Ri*+R(&uv2=E1Q0Zk(>h!~o2ID@6{uf8s; a +M[5[U[QT7xFN%^gR"=tuJw%TXXR'Fp~W; (T"1(739R%m0Yyyv*gkGoPA.$b,D.w:z+<'"=-lVT?6 {T?=R^:W5g|E2#EhjKCa+nt":4b}dU7GYB*HBxn&Td$@f%.kl^:7X8rQWd[NTc"P"u6nkisze/Q; 8 "9Z{peQF,w)7UjV$c|RO/mQW/NMgWfr5*$-Z%u46"/00mx-,\R'fLPe.)^ User-Agent: slrn/pre1.0.0-2 (Linux) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200907/3 X-Sequence-Number: 4033 On 2009-07-01, Carol Walter wrote: > Hello, > > I'm very much a Postgres PHP novice. I have a number of queries that > need to be run as a single transaction. One set of those will only be > run some of the time, but other times will need to be imbedded in > another block. Can I imbed a begin/commit inside another begin/commit? No, but perhaps you can fake it using savepoints.