Re: define pg_structiszero(addr, s, r) - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: define pg_structiszero(addr, s, r)
Date
Msg-id 36371fab-f90c-427c-9c14-210e93e9cd12@eisentraut.org
Whole thread Raw
In response to Re: define pg_structiszero(addr, s, r)  (Peter Eisentraut <peter@eisentraut.org>)
List 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.




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Allowing pg_recvlogical to create temporary replication slots
Next
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: Conflict detection for update_deleted in logical replication