agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
pgsql: Remove unused arg and dead code in set_attnotnull()
3+ messages / 1 participants
[nested] [flat]

* pgsql: Remove unused arg and dead code in set_attnotnull()
@ 2026-08-03 11:53 Álvaro Herrera <alvherre@kurilemu.de>
  0 siblings, 0 replies; 3+ messages in thread

From: Álvaro Herrera @ 2026-08-03 11:53 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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 <samimseih@gmail.com>
Backpatch-through: 18
Discussion: https://postgr.es/m/CAA5RZ0tHnvSrfUy4jWJchjvkL_aJe0hCnZpMsFRdLrSxCne5qQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/36f7330b8b2238c2093d7eac521f996b33e66121

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Remove unused arg and dead code in set_attnotnull()
@ 2026-08-03 11:53 Álvaro Herrera <alvherre@kurilemu.de>
  0 siblings, 0 replies; 3+ messages in thread

From: Álvaro Herrera @ 2026-08-03 11:53 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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 <samimseih@gmail.com>
Backpatch-through: 18
Discussion: https://postgr.es/m/CAA5RZ0tHnvSrfUy4jWJchjvkL_aJe0hCnZpMsFRdLrSxCne5qQ@mail.gmail.com

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1d24c588975a3982720cd7874496d1dffb83d292

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Remove unused arg and dead code in set_attnotnull()
@ 2026-08-03 11:53 Álvaro Herrera <alvherre@kurilemu.de>
  0 siblings, 0 replies; 3+ messages in thread

From: Álvaro Herrera @ 2026-08-03 11:53 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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 <samimseih@gmail.com>
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(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2026-08-03 11:53 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-08-03 11:53 pgsql: Remove unused arg and dead code in set_attnotnull() Álvaro Herrera <alvherre@kurilemu.de>
2026-08-03 11:53 pgsql: Remove unused arg and dead code in set_attnotnull() Álvaro Herrera <alvherre@kurilemu.de>
2026-08-03 11:53 pgsql: Remove unused arg and dead code in set_attnotnull() Álvaro Herrera <alvherre@kurilemu.de>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox