On 27.06.2012 10:08, tarvip(at)gmail(dot)com wrote:
> The following bug has been logged on the website:
>
> Bug reference: 6710
> Logged by: Tarvi Pillessaar
> Email address: tarvip(at)gmail(dot)com
> PostgreSQL version: 9.1.4
> Operating system: linux
> Description:
>
> This happens when epoch is greater than 0.
> After a checkpoint it starts providing correct txid.
>
> It seems that this regression is caused by following commit:
> 20d98ab6e4110087d1816cd105a40fcc8ce0a307 Correct epoch of txid_current()
> when executed on a Hot Standby server.
>
> When reverting this commit, txid_current() works as expected.
Fixed, thanks for the report!
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com