[HACKERS] Uninstall in contrib/

2002-08-19 Thread Christopher Kings-Lynne
Hi Guys, 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. Unfortunately it's a bit beyond my meagre Makefile abilities... Chris

Re: [HACKERS] Uninstall in contrib/

2002-08-19 Thread Tom Lane
Christopher Kings-Lynne [EMAIL PROTECTED] 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

Re: [HACKERS] Uninstall in contrib/

2002-08-19 Thread Christopher Kings-Lynne
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