Re: MemSetLoop ignoring the 'val' parameter

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: MemSetLoop ignoring the 'val' parameter
Date: 2012-10-08 23:02:57
Message-ID: 201210090102.57721.andres@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tuesday, October 09, 2012 12:56:16 AM Tom Lane wrote:
> Andres Freund <andres(at)2ndquadrant(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-10-08 23:12:37 Re: Support for REINDEX CONCURRENTLY
Previous Message Tom Lane 2012-10-08 22:56:16 Re: MemSetLoop ignoring the 'val' parameter