pg_upgrade and epoch

From: Sergey Burladyan <eshkinkot(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_upgrade and epoch
Date: 2014-04-23 01:33:26
Message-ID: CAJ2ymdgTEQ8AETJnQUeEuGjk-OGPWQn_MXgEY5urJpXbJNcohg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi All!

Current pg_upgrade copy XID into new cluster, but not it epoch. Why?

Without epoch from old cluster txid_current() in upgraded database return
lower value than before upgrade. This break, for example, PgQ and it must
be fixed by hand after upgrade with pg_resetxlog.

PS: see
http://lists.pgfoundry.org/pipermail/skytools-users/2014-April/001812.html

--
Sergey Burladyan

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2014-04-23 02:25:19 Re: Missing pfree in logical_heap_rewrite_flush_mappings()
Previous Message Mark Kirkwood 2014-04-23 01:01:14 Re: Perfomance degradation 9.3 (vs 9.2) for FreeBSD