psql postgresql add column terminal code example Example: alter table add column psql ALTER TABLE table_name ADD column_name data_type column_constraint;