mirror of
https://github.com/postgres/postgres.git
synced 2025-06-01 00:01:20 -04:00
Remove duplicate set of print_notnull
I inserted the second one by mistake in commit 14e87ffa5c54. Reported-by: jian he <jian.universality@gmail.com> Confirmed-by: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com> Discussion: https://postgr.es/m/CACJufxFqckBFxPfCixHHbOr0zMLksviTj2m3o12-tErfx_PvTg@mail.gmail.com
This commit is contained in:
parent
b82e7eddb0
commit
f104192e52
@ -16681,11 +16681,6 @@ dumpTableSchema(Archive *fout, const TableInfo *tbinfo)
|
||||
tbinfo->attrdefs[j]->adef_expr);
|
||||
}
|
||||
|
||||
print_notnull = (tbinfo->notnull_constrs[j] != NULL &&
|
||||
(tbinfo->notnull_islocal[j] ||
|
||||
dopt->binary_upgrade ||
|
||||
tbinfo->ispartition));
|
||||
|
||||
if (print_notnull)
|
||||
{
|
||||
if (tbinfo->notnull_constrs[j][0] == '\0')
|
||||
|
Loading…
x
Reference in New Issue
Block a user