how to drop primary key in postgresql in pgadmin code example Example: postgresql drop primary key constraint alter table public.test1 drop constraint test1_pkey