> please find attached a quick proof of concept for a 'pg_advisor' schema.
Here is a "larger" but nevertheless still quick proof of concept, alas
with some buggy PL/pgSQL that I wrote with my little finger.
It implements some foreign key type checks for which I submitted be
patches some time ago.
The more I think about it, the more I find it should be the way to go,
rather than having a new external tool.
--
Fabien Coelho - coelho@cri.ensmp.fr