Re: MemSetLoop ignoring the 'val' parameter - Mailing list pgsql-hackers

From Andres Freund
Subject Re: MemSetLoop ignoring the 'val' parameter
Date
Msg-id 201210090102.57721.andres@2ndquadrant.com
Whole thread Raw
In response to Re: MemSetLoop ignoring the 'val' parameter  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: MemSetLoop ignoring the 'val' parameter  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tuesday, October 09, 2012 12:56:16 AM Tom Lane wrote:
> Andres Freund <andres@2ndquadrant.com> writes:
> > The 'val' parameter is ignored.
> 
> This is not broken.  Read the comments for MemSetTest.
Ah. I was surprised about that already. The comment says that val has to be 
constant though, not that it has to be zero. In my understanding 1 is constant 
as well. Also, why do we even pass in a 'val' parameter in that case?

Feeling a little slow here...

Andres
-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: MemSetLoop ignoring the 'val' parameter
Next
From: Tom Lane
Date:
Subject: Re: Support for REINDEX CONCURRENTLY