pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: chris smith <dmagick@gmail.com>
To: enediel gonzalez <enediel@hotmail.com>
Cc: pgsql-php@postgresql.org
Subject: Re: postgresql 7.3 php transaction problem
Date: Sun, 26 Feb 2006 16:33:05 +1100
Message-ID: <3c1395330602252133u3af0fb27pdc64af7f3e4df4b3@mail.gmail.com> (raw)
In-Reply-To: <BAY104-F234E88A747C80E97178E0A5F10@phx.gbl>
References: <20060226023451.D83171B8089@mx1.hub.org>
	<BAY104-F234E88A747C80E97178E0A5F10@phx.gbl>

> launching the script from the php page fails, but taking the same script and
> using phppgadmin, the same script sucess.

Then they're probably not the same. Enable logging on your postgresql
server and see the exact queries that are being run when you use the
php script.

> Another question about transactions in postgresql
> ?Is it possible inside the transaction to see the changes ocurred into the
> database ,resulting of the previous statements executed on the same
> transaction?

Any statements executed INSIDE a transaction are visible.

To another outside transaction, nothing is visible.



view thread (2+ messages)

Message-ID: <3c1395330602252133u3af0fb27pdc64af7f3e4df4b3@mail.gmail.com>
Permalink:  ../3c1395330602252133u3af0fb27pdc64af7f3e4df4b3@mail.gmail.com/
Also on:    postgresql.org/message-id/3c1395330602252133u3af0fb27pdc64af7f3e4df4b3@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: dmagick@gmail.com, enediel@hotmail.com
  Subject: Re: postgresql 7.3 php transaction problem
  In-Reply-To: <3c1395330602252133u3af0fb27pdc64af7f3e4df4b3@mail.gmail.com>
  References: <20060226023451.D83171B8089@mx1.hub.org> <BAY104-F234E88A747C80E97178E0A5F10@phx.gbl> <3c1395330602252133u3af0fb27pdc64af7f3e4df4b3@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox