X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C05D55331D for ; Mon, 2 May 2005 14:06:45 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 57009-07 for ; Mon, 2 May 2005 17:06:40 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.205]) by svr1.postgresql.org (Postfix) with ESMTP id 5EBA3538F4 for ; Mon, 2 May 2005 14:06:39 -0300 (ADT) Received: by wproxy.gmail.com with SMTP id 68so1591289wri for ; Mon, 02 May 2005 10:06:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TZauky6nD9FQCoACDwxIcAPg0lJLyBDmz4P/RqyrHdPtVEcYx7CvgEop/IJyeF1oIifTYnLg1jXQBHtka+LUAPLZHu4tVhKToYiHhThb4x2pVc9d9PjNsDta0nNz0hcVT8za3CXb281ZEmugpHcBiv8GiAWTjmy8bhwNEbAAziw= Received: by 10.54.122.18 with SMTP id u18mr664997wrc; Mon, 02 May 2005 10:06:39 -0700 (PDT) Received: by 10.54.30.31 with HTTP; Mon, 2 May 2005 10:06:39 -0700 (PDT) Message-ID: <7104a737050502100665a8c51a@mail.gmail.com> Date: Mon, 2 May 2005 20:06:39 +0300 From: Volkan YAZICI Reply-To: Volkan YAZICI To: Aaron Dummer Subject: Re: Determining transaction status Cc: pgsql-php@postgresql.org In-Reply-To: <1115051678.31523.7.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1115051678.31523.7.camel@localhost> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.923 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, INFO_TLD, RCVD_BY_IP, SUBJECT_DRUG_GAP_P X-Spam-Level: X-Archive-Number: 200505/4 X-Sequence-Number: 3118 Hi, On 5/2/05, Aaron Dummer wrote: > Is there any way to determine transaction status without using > pg_transaction_status() (which hasn't been officially released yet)? You can patch your ext/pgsql/pgsql.c from CVS. pg_transaction_status() is added in revision 1.315. [http://cvs.php.net/php-src/ext/pgsql/pgsql.c] Regards.