Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 5BF57632816 for ; Wed, 1 Jul 2009 15:02:18 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 94197-08 for ; Wed, 1 Jul 2009 15:02:17 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mamv03.vishay.com (mamv03.Vishay.com [57.68.16.123]) by mail.postgresql.org (Postfix) with ESMTP id 80B256327BC for ; Wed, 1 Jul 2009 15:02:17 -0300 (ADT) Received: from VMMV03.VISHAY.COM (localhost [127.0.0.1]) by mamv03.vishay.com (Spam & Virus Firewall) with ESMTP id 4C887482430 for ; Wed, 1 Jul 2009 14:02:15 -0400 (EDT) Received: from VMMV03.VISHAY.COM (vmmv03.Vishay.com [57.68.16.13]) by mamv03.vishay.com with ESMTP id 8urZ4dt10UkB8QBG for ; Wed, 01 Jul 2009 14:02:15 -0400 (EDT) Received: from WSMV57.corp.vishayint.com (wsmv57.corp.vishayint.com [172.26.20.57]) by Mail1.Vishay.com (PMDF V6.3-x3 #31205) with ESMTP id <01NAT387QFWW9LVKK4@Mail1.Vishay.com> for pgsql-php@postgresql.org; Wed, 01 Jul 2009 14:02:07 -0400 Received: from EVSCO01.na.vishayint.com ([172.25.20.16]) by WSMV57.corp.vishayint.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 01 Jul 2009 14:02:04 -0400 Date: Wed, 01 Jul 2009 13:02:02 -0500 From: "Hajek, Nick" Subject: Re: Begin block In-reply-to: <2A0AB159-CE44-4824-A77E-12BE538D7C77@indiana.edu> To: pgsql-php@postgresql.org Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft Exchange V6.5 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: quoted-printable Thread-Topic: [PHP] Begin block Thread-Index: Acn6dMs4FPaWBbi3Q/u7yZ+l+RsAmQAANf3A Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 01 Jul 2009 18:02:04.0447 (UTC) FILETIME=[0A686AF0:01C9FA76] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200907/4 X-Sequence-Number: 4034 > I'm very much a Postgres PHP novice. I have a number of=20 > queries that need to be run as a single transaction. One set=20 > of those will only be run some of the time, but other times=20 > will need to be imbedded in another block. Can I imbed a=20 > begin/commit inside another begin/commit? >=20 Nested transactions are not allowed in Postgresql you must use savepoints. Nick