rows changed in current transaction

From: Miroslav Šimulčík <simulcik(dot)miro(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: rows changed in current transaction
Date: 2012-08-30 14:12:34
Message-ID: CAHRNM6-UgZ5CBMm8bs9DW9J9QuC9f0w387v1m=_=mjxi6a+_5Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

is there any way to check if row have already been modified by the current
transaction? I tried condition txid_current() = xmin, but there is problem
with the savepoints. After every savepoint rows are getting higher xmin
values, but txid_current() remains the same.

Regards,
Miroslav Simulcik

Browse pgsql-hackers by date

  From Date Subject
Next Message Miroslav Šimulčík 2012-08-30 14:36:06 rows modified in current transaction
Previous Message Tom Lane 2012-08-30 14:05:04 Re: Chronic performance issue with Replication Failover and FSM.