SO question about disappearing row

From: Andomar <andomar(at)aule(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: SO question about disappearing row
Date: 2016-09-18 11:17:15
Message-ID: 29BD83DE-482E-409F-A1BB-4C63492CF158@aule.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Saw the following question on Stack Overflow: http://stackoverflow.com/questions/39550510/select-for-update-returns-zero-rows

One transaction updates a row with the same values, causing another transaction to return an empty set. This is surprising as the row passes the where clause both before and after the update.

Is there a way to have Postgres explain why the outer query drops a row even though the query plan does not show a filter?

Cheers,
Andomar

Browse pgsql-general by date

  From Date Subject
Next Message Tjibbe 2016-09-18 16:46:10 push array to array
Previous Message Melvin Davidson 2016-09-17 14:25:57 Re: question on error during COPY FROM