Fix incorrect variable type for origin_id

Started by Masahiko Sawadaover 3 years ago2 messageshackers
Jump to latest
#1Masahiko Sawada
sawada.mshk@gmail.com

Hi,

I realized that there are some places where we use XLogRecPtr for
variables for replication origin id. The attached patch fixes them to
use RepOriginiId instead.

Regards,

--
Masahiko Sawada
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

Attachments:

fix_to_use_RepOriginId.patchapplication/octet-stream; name=fix_to_use_RepOriginId.patchDownload+2-2
#2Michael Paquier
michael@paquier.xyz
In reply to: Masahiko Sawada (#1)
Re: Fix incorrect variable type for origin_id

On Tue, Sep 20, 2022 at 02:49:14PM +0900, Masahiko Sawada wrote:

I realized that there are some places where we use XLogRecPtr for
variables for replication origin id. The attached patch fixes them to
use RepOriginiId instead.

Right, good catch. Will fix, thanks!
--
Michael