With the UNIQUE constraint, every time you insert a new row, PostgreSQL will check if the value is already in the table
- if it is, Postgre will give back an error message and reject the changes
* same happens when updating columns with the UNIQUE constraint