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

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Fix array access (src/bin/pg_dump/pg_dump.c)
Date: 2024-11-12 17:05:40
Message-ID: CAEudQAo7ah=4TDheuEjtb0dsv6bHoK7uBNqv53Tsub2h-xBSJw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
fix_array_access_pg_dump.patch application/octet-stream 473 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Benoit Lobréau 2024-11-12 17:17:52 Re: Parallel workers stats in pg_stat_database
Previous Message Peter Eisentraut 2024-11-12 16:52:27 Re: doc: pgevent.dll location