To explain myself, I am creating a database where the users have unique handles (say @johndoe34 ). Users can also follow each other Ig style.
I consider that, since the handle is unique, I can use it as a primary key.
That said, I was worrying about any performance drawbacks that this decision might have. For example, at my job the databases usually use a uuid as PK, even if other fields --or groups of fields-- could be used. Even then I think the handles could work and might even be "cleaner" to work with.
So, are there any performance penalties for using text as a primary key in Postgres? Or anything I should consider?