Re: define pg_structiszero(addr, s, r)

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: define pg_structiszero(addr, s, r)
Date: 2024-10-30 08:09:54
Message-ID: 36371fab-f90c-427c-9c14-210e93e9cd12@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 29.10.24 14:58, Bertrand Drouvot wrote:
> hi,
>
> On Tue, Oct 29, 2024 at 10:23:37AM +0100, Peter Eisentraut wrote:
>> On 29.10.24 08:54, Bertrand Drouvot wrote:
>>> +static inline bool
>>> +pg_mem_is_all_zeros(const char *p, size_t len)
>>
>> This should be a void * pointer please.
>
> Thanks for looking at it!
> Yeah better, done in v4 attached.

Sorry for the confusion. I didn't mean to discourage you from the const
qualifier. That should still be there.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joel Jacobson 2024-10-30 08:14:41 Re: New "raw" COPY format
Previous Message Peter Eisentraut 2024-10-30 08:00:59 Re: Allowing pg_recvlogical to create temporary replication slots