diff options
Diffstat (limited to 'contrib/pgcrypto/uninstall_pgcrypto.sql')
-rw-r--r-- | contrib/pgcrypto/uninstall_pgcrypto.sql | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/contrib/pgcrypto/uninstall_pgcrypto.sql b/contrib/pgcrypto/uninstall_pgcrypto.sql new file mode 100644 index 00000000000..56103f09db1 --- /dev/null +++ b/contrib/pgcrypto/uninstall_pgcrypto.sql @@ -0,0 +1,46 @@ + +SET search_path = public; + +DROP FUNCTION digest(text, text); +DROP FUNCTION digest(bytea, text); +DROP FUNCTION digest_exists(text); + +DROP FUNCTION hmac(text, text, text); +DROP FUNCTION hmac(bytea, bytea, text); +DROP FUNCTION hmac_exists(text); + +DROP FUNCTION crypt(text, text); +DROP FUNCTION gen_salt(text); +DROP FUNCTION gen_salt(text, int4); + +DROP FUNCTION encrypt(bytea, bytea, text); +DROP FUNCTION decrypt(bytea, bytea, text); +DROP FUNCTION encrypt_iv(bytea, bytea, bytea, text); +DROP FUNCTION decrypt_iv(bytea, bytea, bytea, text); +DROP FUNCTION cipher_exists(text); +DROP FUNCTION gen_random_bytes(int4); + +DROP FUNCTION pgp_sym_encrypt(text, text); +DROP FUNCTION pgp_sym_encrypt_bytea(bytea, text); +DROP FUNCTION pgp_sym_encrypt(text, text, text); +DROP FUNCTION pgp_sym_encrypt_bytea(bytea, text, text); +DROP FUNCTION pgp_sym_decrypt(bytea, text); +DROP FUNCTION pgp_sym_decrypt_bytea(bytea, text); +DROP FUNCTION pgp_sym_decrypt(bytea, text, text); +DROP FUNCTION pgp_sym_decrypt_bytea(bytea, text, text); + +DROP FUNCTION pgp_pub_encrypt(text, bytea); +DROP FUNCTION pgp_pub_encrypt_bytea(bytea, bytea); +DROP FUNCTION pgp_pub_encrypt(text, bytea, text); +DROP FUNCTION pgp_pub_encrypt_bytea(bytea, bytea, text); +DROP FUNCTION pgp_pub_decrypt(bytea, bytea); +DROP FUNCTION pgp_pub_decrypt_bytea(bytea, bytea); +DROP FUNCTION pgp_pub_decrypt(bytea, bytea, text); +DROP FUNCTION pgp_pub_decrypt_bytea(bytea, bytea, text); +DROP FUNCTION pgp_pub_decrypt(bytea, bytea, text, text); +DROP FUNCTION pgp_pub_decrypt_bytea(bytea, bytea, text, text); + +DROP FUNCTION pgp_key_id(bytea); +DROP FUNCTION armor(bytea); +DROP FUNCTION dearmor(text); + |