PostgreSQL: how to efficiently alter multiple columns from psql?
I have PostgreSQL table with several boolean columns, currently containing only true or null. I want to do the following for all of them:

1.  Add a default value of false
2.  Change all null values to false
3.  Add a `not null` constraint

Is there a feature of psql (or standard SQL) that will iterate over a specified list of columns and apply a sequence of operations to each one?
PostgreSQL: how to efficiently alter multiple columns from psql?
===

I have PostgreSQL table with several boolean columns, currently containing only true or null. I want to do the following for all of them:

1.  Add a default value of false
2.  Change all null values to false
3.  Add a `not null` constraint

Is there a feature of psql (or standard SQL) that will iterate over a specified list of columns and apply a sequence of operations to each one?