"Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au> writes:
> It would be really neat if the contrib makefile could run an sql script upon
> uninstall as well as removing the files. Is that a neat idea? Means it can
> get rid off all the functions, types, etc. automatically.
Automatically? How will it determine which database(s) contain the
types? What if the databases require password access?
It probably would be useful to supply an uninstall SQL script to reverse
the effects of the install script, but since we have no idea where the
install was run I think we'll have to rely on the DBA to use the script.
regards, tom lane