two occurrences of assign print_notnull within pg_dump.c - Mailing list pgsql-hackers

From jian he
Subject two occurrences of assign print_notnull within pg_dump.c
Date
Msg-id CACJufxFqckBFxPfCixHHbOr0zMLksviTj2m3o12-tErfx_PvTg@mail.gmail.com
Whole thread Raw
Responses Re: two occurrences of assign print_notnull within pg_dump.c
List pgsql-hackers
hi.

in src/bin/pg_dump/pg_dump.c
within function dumpTableSchema:
there are two occurrences of:
                    print_notnull = (tbinfo->notnull_constrs[j] != NULL &&
                                     (tbinfo->notnull_islocal[j] ||
                                      dopt->binary_upgrade ||
                                      tbinfo->ispartition));


we can delete the second one.
to confirm delete the second is fine.
I did run a test, and all tests are OK.



pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Making sslrootcert=system work on Windows psql
Next
From: Sandeep Thakkar
Date:
Subject: Re: Making sslrootcert=system work on Windows psql