Nicolas Thauvin. Comments from him:
Please find attached uninstall_* SQL files for pgpool-recovery,
pgpool-regclass and pgpool-walrecrunning with the patch for the
Makefiles (against HEAD) needed to add them to PostgreSQL's contrib
directory.
MODULES = pgpool-recovery
DATA_built = pgpool-recovery.sql
+DATA = uninstall_pgpool-recovery.sql
# if you are using PostgreSQL 8.0 or later,
# using pg_config is recommended.
--- /dev/null
+DROP FUNCTION pgpool_switch_xlog(text);
+DROP FUNCTION pgpool_remote_start(text, text);
+DROP FUNCTION pgpool_recovery(text, text, text);
MODULES = pgpool-regclass
DATA_built = pgpool-regclass.sql
+DATA = uninstall_pgpool-regclass.sql
# if you are using PostgreSQL 8.0 or later,
# using pg_config is recommended.
--- /dev/null
+DROP FUNCTION pgpool_regclass(cstring);
MODULES = pgpool-walrecrunning
DATA_built = pgpool-walrecrunning.sql
+DATA = uninstall_pgpool-walrecrunning.sql
# if you are using PostgreSQL 8.0 or later,
# using pg_config is recommended.
--- /dev/null
+DROP FUNCTION pgpool_walrecrunning();