I want to use the hash function for the primary key in the PostgreSQL table so that PostgreSQL itself generates this value.
- Is it possible to generate hashCode using PostgreSQL?
- Is it generally accepted to do so? Or is it a bad idea?
- If the answers to the first two questions are yes, then how?