Search Postgresql Archives

Re: When are updates from inside transactions visible?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Answering my own question:  The change is not visible until the commit,
which is what I was expecting and hoping.  I added a couple of buttons
to a dialog box in an application that connected to our database.  In
the handler for one button, I began a transaction and updated a value.
In the handler for the other, I committed the transaction.  After
clicking the first button, the old value appeared in PGAdmin.  After
clicking the second, the new value appeared.

RobR 

-----Original Message-----
From: pgsql-general-owner@xxxxxxxxxxxxxx
[mailto:pgsql-general-owner@xxxxxxxxxxxxxx] On Behalf Of Rob Richardson
Sent: Tuesday, October 21, 2008 9:58 AM
To: pgsql-general@xxxxxxxxxxxxxx
Subject:  When are updates from inside transactions visible?

Correction from my previous post.  The first word in the title should
have been "when", not "where".

RobR 

--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To
make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux