Re: WAL format changes - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: WAL format changes
Date
Msg-id CAHGQGwHpdpPrmbq49yOp=zZTsiB+_cnwojRh0Xe9BE1D8fLegg@mail.gmail.com
Whole thread Raw
In response to Re: WAL format changes  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: WAL format changes  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
On Mon, Jun 25, 2012 at 1:24 AM, Heikki Linnakangas
<heikki.linnakangas@enterprisedb.com> wrote:
> Ok, committed all the WAL format changes now.

I found the typo.

In walsender.c
-         reply.write.xlogid, reply.write.xrecoff,
-         reply.flush.xlogid, reply.flush.xrecoff,
-         reply.apply.xlogid, reply.apply.xrecoff);
+         (uint32) (reply.write << 32), (uint32) reply.write,
+         (uint32) (reply.flush << 32), (uint32) reply.flush,
+         (uint32) (reply.apply << 32), (uint32) reply.apply);

"<<" should be ">>". The attached patch fixes this typo.

Regards,

-- 
Fujii Masao


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Catalog/Metadata consistency during changeset extraction from wal
Next
From: Fujii Masao
Date:
Subject: Re: WAL format changes