]> granicus.if.org Git - postgresql/blob - contrib/pgcrypto/pgcrypto--1.1--1.2.sql
Separate block sampling functions
[postgresql] / contrib / pgcrypto / pgcrypto--1.1--1.2.sql
1 /* contrib/pgcrypto/pgcrypto--1.1--1.2.sql */
2
3 -- complain if script is sourced in psql, rather than via ALTER EXTENSION
4 \echo Use "ALTER EXTENSION pgcrypto UPDATE TO '1.2'" to load this file. \quit
5
6 CREATE FUNCTION armor(bytea, text[], text[])
7 RETURNS text
8 AS 'MODULE_PATHNAME', 'pg_armor'
9 LANGUAGE C IMMUTABLE STRICT;
10
11 CREATE FUNCTION pgp_armor_headers(text, key OUT text, value OUT text)
12 RETURNS SETOF record
13 AS 'MODULE_PATHNAME', 'pgp_armor_headers'
14 LANGUAGE C IMMUTABLE STRICT;