Re: pgsql: Replace many MemSet calls with struct initialization

2022-07-16 Thread Justin Pryzby
On Sat, Jul 16, 2022 at 06:53:16AM +, Peter Eisentraut wrote: > Replace many MemSet calls with struct initialization This failed https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=lapwing&dt=2022-07-16%2008%3A40%3A14 It avoids the warning here to use {{0}}. But it doesn't seem worth it t

pgsql: Replace many MemSet calls with struct initialization

2022-07-15 Thread Peter Eisentraut
Replace many MemSet calls with struct initialization This replaces all MemSet() calls with struct initialization where that is easily and obviously possible. (For example, some cases have to worry about padding bits, so I left those.) (The same could be done with appropriate memset() calls, but