I'm looking for an hashing function which is implemented in both PostgreSQL and MySQL, which can hash a string and return an integer.
For example I tried to use hashtext function in PostgreSQL, but I haven't found the same function implementation in MySQL.
I've seen that MySQL supports md5, but it returns a string instead of an integer.
hashtext()function you mention?