Re: pg_upgrade and epoch

From: Sergey Konoplev <gray(dot)ru(at)gmail(dot)com>
To: Sergey Burladyan <eshkinkot(at)gmail(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_upgrade and epoch
Date: 2014-04-23 03:49:08
Message-ID: CAL_0b1sFsa48QjS_YKU9wn+o8NZz74Y3Ui-7NB=CJifnK_Wu7Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Apr 22, 2014 at 8:08 PM, Sergey Burladyan <eshkinkot(at)gmail(dot)com> wrote:
> On Wed, Apr 23, 2014 at 6:38 AM, Sergey Konoplev <gray(dot)ru(at)gmail(dot)com> wrote:
>> BTW, I didn't manage to make a test case yet. Recently, when I was
>> migrating several servers to skytools3 and upgrading from 9.0 to 9.2,
>> I noticed that epoch was copied, timeline id was >0 after upgrade, but
> ...

Sorry, just noticed a typo: * timeline id = next xid

> This is strange, if I not mistaken XID copied by copy_clog_xlog_xid(void):
> http://doxygen.postgresql.org/pg__upgrade_8c_source.html#l00398
> and there is no epoch (-e XIDEPOCH) in pg_resetxlog call args

I can only guess here.

+ Bruce Momjian

--
Kind regards,
Sergey Konoplev
PostgreSQL Consultant and DBA

http://www.linkedin.com/in/grayhemp
+1 (415) 867-9984, +7 (901) 903-0499, +7 (988) 888-1979
gray(dot)ru(at)gmail(dot)com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message YAMAMOTO Takashi 2014-04-23 04:17:48 Re: Perfomance degradation 9.3 (vs 9.2) for FreeBSD
Previous Message Sergey Burladyan 2014-04-23 03:08:42 Re: pg_upgrade and epoch