Re: Fix array access (src/bin/pg_dump/pg_dump.c)

2024-11-12 Thread Ranier Vilela
Em ter., 12 de nov. de 2024 às 16:11, Alvaro Herrera < alvhe...@alvh.no-ip.org> escreveu: > On 2024-Nov-12, Ranier Vilela wrote: > > > Per Coverity. > > > > The function *determineNotNullFlags* has a little oversight. > > The struct field *notnull_islocal* is an array. > > > > I think this is a si

Re: Fix array access (src/bin/pg_dump/pg_dump.c)

2024-11-12 Thread Alvaro Herrera
On 2024-Nov-12, Ranier Vilela wrote: > Per Coverity. > > The function *determineNotNullFlags* has a little oversight. > The struct field *notnull_islocal* is an array. > > I think this is a simple typo. > Fix using array notation access. Yeah, thanks, I had been made aware of this bug. Before

Fix array access (src/bin/pg_dump/pg_dump.c)

2024-11-12 Thread Ranier Vilela
Hi. Per Coverity. The function *determineNotNullFlags* has a little oversight. The struct field *notnull_islocal* is an array. I think this is a simple typo. Fix using array notation access. Trivial patch attached. best regards, Ranier Vilela fix_array_access_pg_dump.patch Description: Binar