Re: Fix array access (src/bin/pg_dump/pg_dump.c) - Mailing list pgsql-hackers

From Ranier Vilela
Subject Re: Fix array access (src/bin/pg_dump/pg_dump.c)
Date
Msg-id CAEudQAoPzpC1tDDGtGO6gsbtn+0orb2PTqyd6qknOV4tXv=VyQ@mail.gmail.com
Whole thread Raw
In response to Re: Fix array access (src/bin/pg_dump/pg_dump.c)  (Ranier Vilela <ranier.vf@gmail.com>)
Responses Re: Fix array access (src/bin/pg_dump/pg_dump.c)
List pgsql-hackers
Hi.

Em ter., 12 de nov. de 2024 às 19:13, Ranier Vilela <ranier.vf@gmail.com> escreveu:
Em ter., 12 de nov. de 2024 às 16:11, Alvaro Herrera <alvherre@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 simple typo.
> Fix using array notation access.

Yeah, thanks, I had been made aware of this bug.  Before fixing I'd like
to construct a test case that tickles that code, because it's currently
uncovered  *shudder*
Thanks for taking care of this.
Ping.

best regards,
Ranier Vilela

pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Clarification on Role Access Rights to Table Indexes
Next
From: Tomas Vondra
Date:
Subject: Re: Should we update the random_page_cost default value?