Re: Re: A bug when use get_bit() function for a long bytea string

2020-03-16 Thread Ashutosh Bapat
On Fri, 13 Mar 2020 at 08:48, movead...@highgo.ca wrote: > Thanks for the reply. > > >Why have you used size? Shouldn't we use int64? > Yes, thanks for the point, I have changed the patch. > > Thanks for the patch. > >If get_bit()/set_bit() accept the second argument as int32, it can not > >be

Re: Re: A bug when use get_bit() function for a long bytea string

2020-03-12 Thread movead...@highgo.ca
Thanks for the reply. >Why have you used size? Shouldn't we use int64? Yes, thanks for the point, I have changed the patch. >If get_bit()/set_bit() accept the second argument as int32, it can not >be used to set bits whose number does not fit 32 bits. I think we need >to change the type of the s