We have a dev Postgres DB that one of the developers has created an application in. Is there an existing query that will pull information from the role\_table\_grants table and generate all the correct statements to move into production? PGAdmin will create all the generate scripts for certain things but I haven't found a less manual way rather than just writing all the statements by hand based on the role\_table\_grants table. Not asking anyone to dump time into creating it, just thought I would ask if there are some existing migration scripts out there that would help. 

Thanks.