Re: Delayed result from another connection - Mailing list pgsql-sql

From Tom Lane
Subject Re: Delayed result from another connection
Date
Msg-id 26500.1099670035@sss.pgh.pa.us
Whole thread Raw
In response to Re: Delayed result from another connection  (SZŰCS Gábor <surrano@mailbox.hu>)
List pgsql-sql
SZŰCS Gábor <surrano@mailbox.hu> writes:
> From: "Tom Lane" <tgl@sss.pgh.pa.us>
>> Yes, because your transaction is working with a database snapshot that
>> predates the other transaction run by the separate PHP connection.

> Yes, but the snapshot is not constant during a transaction, right?

In pre-8.0 releases, the snapshot only advances between interactive
commands, not between commands of a function; so you can't see the
results of other transactions that commit after the function starts.
        regards, tom lane


pgsql-sql by date:

Previous
From:
Date:
Subject: oracle v$session equivalent in postgresql
Next
From: Achilleus Mantzios
Date:
Subject: Re: sql problem