pgsql alter table add column if not exists code example Example: add column if not exists postgresql ALTER TABLE table_name ADD COLUMN IF NOT EXISTS column_name INTEGER;