Re: BUG #14450: inconsistent results on async slave

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: rikard(at)ngs(dot)hr
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #14450: inconsistent results on async slave
Date: 2016-12-06 15:44:17
Message-ID: 26771.1481039057@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

rikard(at)ngs(dot)hr writes:
> Is this expected behavior?

You haven't provided nearly enough information to let anyone diagnose
this with certainty; but if the data is changing under you, then replacing
a volatile function with a stable one could certainly cause different
results, because the data visibility rules would be different. See
https://www.postgresql.org/docs/9.3/static/xfunc-volatility.html
particularly the bit about volatile functions using a new snapshot
on each call.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2016-12-06 15:50:16 Re: BUG #14451: PostgreSQL server on iscsi disks
Previous Message tim.klicks 2016-12-06 15:07:49 BUG #14451: PostgreSQL server on iscsi disks