PostgreSQL: what's the difference between "alter table … add unique (…)" and "alter table … add constraint … unique (…)"?
According to tests both SQL give the same result. alter table public.company add constraint company_name_key unique ("name") vs. alter table public.company add unique ("name"); PostgreSQL (ver. 12.16)