pgsql: Remove unused arg and dead code in set_attnotnull()

Поиск
Список
Период
Сортировка
Искать

pgsql: Remove unused arg and dead code in set_attnotnull()

От:
Álvaro Herrera <alvherre@kurilemu.de>
Дата:
Remove unused arg and dead code in set_attnotnull()

The is_valid parameter was never referenced in the function body, and
the 'thisatt' local variable is set but never used.  Remove both.

Oversight in a379061a22a8.

Author: Sami Imseih 
Backpatch-through: 18
Discussion: https://postgr.es/m/CAA5RZ0tHnvSrfUy4jWJchjvkL_aJe0hCnZpMsFRdLrSxCne5qQ@mail.gmail.com

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d04a24d9ead0d47f772d5a416813259af5a36e98

Modified Files
--------------
src/backend/commands/tablecmds.c | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)

FAQ