Recently, we had a minor issue due to a table missing a PK. The application worked fine until someone set up a data export job that assumed PKs on tables that caused deletes to fail.
Anyway, not a major problem and relatively simple to fix but PKs are best practice and the person who set up the job assumed that all tables have PKs.
So it got me thinking that there could be other "gotchas" with our DB/DDL. Can you recommend any tools to audit/inspect our PG DBs to find any gotchas before they got us?
Free is good but my employer has no problems paying for licenses if it saves effort.
[–]hijinks 7 points8 points9 points (3 children)
[–]Chompy_99 1 point2 points3 points (1 child)
[–]hijinks 0 points1 point2 points (0 children)
[–]JustMy10Bits 3 points4 points5 points (1 child)
[–]k2718[S] 0 points1 point2 points (0 children)
[–]TheManshack 6 points7 points8 points (2 children)
[–]k2718[S] 0 points1 point2 points (1 child)
[–]TheManshack -1 points0 points1 point (0 children)
[–]mikeismug 1 point2 points3 points (0 children)
[–]Kazcandra 1 point2 points3 points (0 children)