Hi All,

I am in a process of writing a script to hash tables in a schema to track any changes done in table definition level. This is thoroughly for the security purpose and to minimize the unauthorized changes in the DB. So the plan is to generate a Hash/Checksum key for each table and store in a temporary table after any deployment. Then generate the Hash/Checksum key value again before the next deployment and compare the previous Hash/Checksum values. Please let me know a correct way to do this in Postgre. I did the same thing Oracle DB by using DBMS_CRYPTO function and couln't able to find a way in Postgre. So please suggest me a way to handle this hashing tables method and relevant functions/utilities? Thanks.