Re: [HACKERS] Fix a typo in snapmgr.c - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Fix a typo in snapmgr.c
Date
Msg-id 3331.1494249133@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Fix a typo in snapmgr.c  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: [HACKERS] Fix a typo in snapmgr.c  (Masahiko Sawada <sawada.mshk@gmail.com>)
Re: [HACKERS] Fix a typo in snapmgr.c  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Simon Riggs <simon@2ndquadrant.com> writes:
> So rearranged code a little to keep it lean.

Didn't you break it with that?  As it now stands, the memcpy will
copy the nonzero value.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Dmitriy Sarafannikov
Date:
Subject: Re: [HACKERS] [PROPOSAL] Use SnapshotAny in get_actual_variable_range
Next
From: Daniele Varrazzo
Date:
Subject: Re: [HACKERS] Detecting schema changes during logical replication