two occurrences of assign print_notnull within pg_dump.c

Поиск
Список
Период
Сортировка
От jian he
Тема two occurrences of assign print_notnull within pg_dump.c
Дата
Msg-id CACJufxFqckBFxPfCixHHbOr0zMLksviTj2m3o12-tErfx_PvTg@mail.gmail.com
обсуждение исходный текст
Ответы Re: two occurrences of assign print_notnull within pg_dump.c
Список 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 по дате отправления: