PS: As said in the other thread, a primary key on (granule_uuid, file_id) would make more sense, but you need to get rid of null values on these rows before creating the PK.
pgsql-admin by date:
Соглашаюсь с условиями обработки персональных данных