Re: Snapshot synchronization, again... - Mailing list pgsql-hackers

From Joachim Wieland
Subject Re: Snapshot synchronization, again...
Date
Msg-id AANLkTik0SFP8CJCxSeH9nzKw9a-+da93bHW8spB2joTF@mail.gmail.com
Whole thread Raw
In response to Re: Snapshot synchronization, again...  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Snapshot synchronization, again...  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: Snapshot synchronization, again...  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
On Fri, Feb 18, 2011 at 8:57 PM, Alvaro Herrera
<alvherre@commandprompt.com> wrote:
> 1. why are you using the expansible char array stuff instead of using
> the StringInfo facility?
>
> 2. is md5 the most appropriate digest for this?  If you need a
> cryptographically secure hash, do we need something stronger?  If not,
> why not just use hash_any?

We don't need a cryptographically secure hash.

There is no special reason for why it is like it is, I just didn't
think of the better alternatives that you are proposing.

Should I send an updated patch? Anything else?


Thanks for the review,
Joachim


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Sync Rep v17
Next
From: Alvaro Herrera
Date:
Subject: Re: Sync Rep v17