diff --git a/contrib/sslinfo/Makefile b/contrib/sslinfo/Makefile index d48c5b89a2595c7c26f79a91831fa68c19a5353c..cc000d9453be38ea05043cddc03f4cc43ff594df 100644 --- a/contrib/sslinfo/Makefile +++ b/contrib/sslinfo/Makefile @@ -1,6 +1,7 @@ MODULE_big = sslinfo OBJS = sslinfo.o DATA_built = sslinfo.sql +DATA = uninstall_sslinfo.sql DOCS = README.sslinfo ifdef USE_PGXS diff --git a/contrib/sslinfo/uninstall_sslinfo.sql b/contrib/sslinfo/uninstall_sslinfo.sql new file mode 100644 index 0000000000000000000000000000000000000000..90024c908ede8625d16c5a353ff6bb442ec227bd --- /dev/null +++ b/contrib/sslinfo/uninstall_sslinfo.sql @@ -0,0 +1,9 @@ +SET search_path = public; + +DROP FUNCTION ssl_client_serial(); +DROP FUNCTION ssl_is_used(); +DROP FUNCTION ssl_client_cert_present(); +DROP FUNCTION ssl_client_dn_field(text); +DROP FUNCTION ssl_issuer_field(text); +DROP FUNCTION ssl_client_dn(); +DROP FUNCTION ssl_issuer_dn();