1/* contrib/pgcrypto/pgcrypto--1.2--1.3.sql */
2
3-- complain if script is sourced in psql, rather than via ALTER EXTENSION
4\echo Use "ALTER EXTENSION pgcrypto UPDATE TO '1.3'" to load this file. \quit
5
6ALTER FUNCTION digest(text, text) PARALLEL SAFE;
7ALTER FUNCTION digest(bytea, text) PARALLEL SAFE;
8ALTER FUNCTION hmac(text, text, text) PARALLEL SAFE;
9ALTER FUNCTION hmac(bytea, bytea, text) PARALLEL SAFE;
10ALTER FUNCTION crypt(text, text) PARALLEL SAFE;
11ALTER FUNCTION gen_salt(text) PARALLEL SAFE;
12ALTER FUNCTION gen_salt(text, int4) PARALLEL SAFE;
13ALTER FUNCTION encrypt(bytea, bytea, text) PARALLEL SAFE;
14ALTER FUNCTION decrypt(bytea, bytea, text) PARALLEL SAFE;
15ALTER FUNCTION encrypt_iv(bytea, bytea, bytea, text) PARALLEL SAFE;
16ALTER FUNCTION decrypt_iv(bytea, bytea, bytea, text) PARALLEL SAFE;
17ALTER FUNCTION gen_random_bytes(int4) PARALLEL SAFE;
18ALTER FUNCTION gen_random_uuid() PARALLEL SAFE;
19ALTER FUNCTION pgp_sym_encrypt(text, text) PARALLEL SAFE;
20ALTER FUNCTION pgp_sym_encrypt_bytea(bytea, text) PARALLEL SAFE;
21ALTER FUNCTION pgp_sym_encrypt(text, text, text) PARALLEL SAFE;
22ALTER FUNCTION pgp_sym_encrypt_bytea(bytea, text, text) PARALLEL SAFE;
23ALTER FUNCTION pgp_sym_decrypt(bytea, text) PARALLEL SAFE;
24ALTER FUNCTION pgp_sym_decrypt_bytea(bytea, text) PARALLEL SAFE;
25ALTER FUNCTION pgp_sym_decrypt(bytea, text, text) PARALLEL SAFE;
26ALTER FUNCTION pgp_sym_decrypt_bytea(bytea, text, text) PARALLEL SAFE;
27ALTER FUNCTION pgp_pub_encrypt(text, bytea) PARALLEL SAFE;
28ALTER FUNCTION pgp_pub_encrypt_bytea(bytea, bytea) PARALLEL SAFE;
29ALTER FUNCTION pgp_pub_encrypt(text, bytea, text) PARALLEL SAFE;
30ALTER FUNCTION pgp_pub_encrypt_bytea(bytea, bytea, text) PARALLEL SAFE;
31ALTER FUNCTION pgp_pub_decrypt(bytea, bytea) PARALLEL SAFE;
32ALTER FUNCTION pgp_pub_decrypt_bytea(bytea, bytea) PARALLEL SAFE;
33ALTER FUNCTION pgp_pub_decrypt(bytea, bytea, text) PARALLEL SAFE;
34ALTER FUNCTION pgp_pub_decrypt_bytea(bytea, bytea, text) PARALLEL SAFE;
35ALTER FUNCTION pgp_pub_decrypt(bytea, bytea, text, text) PARALLEL SAFE;
36ALTER FUNCTION pgp_pub_decrypt_bytea(bytea, bytea, text, text) PARALLEL SAFE;
37ALTER FUNCTION pgp_key_id(bytea) PARALLEL SAFE;
38ALTER FUNCTION armor(bytea) PARALLEL SAFE;
39ALTER FUNCTION armor(bytea, text[], text[]) PARALLEL SAFE;
40ALTER FUNCTION dearmor(text) PARALLEL SAFE;
41ALTER FUNCTION pgp_armor_headers(text) PARALLEL SAFE;
42