-
Notifications
You must be signed in to change notification settings - Fork 1
/
pg_mustach--1.0.sql
28 lines (23 loc) · 2.7 KB
/
pg_mustach--1.0.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "CREATE EXTENSION pg_mustach" to load this file. \quit
CREATE FUNCTION mustach_with_allextensions() RETURNS void AS 'MODULE_PATHNAME', 'pg_mustach_with_allextensions' LANGUAGE 'c';
CREATE FUNCTION mustach_with_colon() RETURNS void AS 'MODULE_PATHNAME', 'pg_mustach_with_colon' LANGUAGE 'c';
CREATE FUNCTION mustach_with_compare() RETURNS void AS 'MODULE_PATHNAME', 'pg_mustach_with_compare' LANGUAGE 'c';
CREATE FUNCTION mustach_with_emptytag() RETURNS void AS 'MODULE_PATHNAME', 'pg_mustach_with_emptytag' LANGUAGE 'c';
CREATE FUNCTION mustach_with_equal() RETURNS void AS 'MODULE_PATHNAME', 'pg_mustach_with_equal' LANGUAGE 'c';
CREATE FUNCTION mustach_with_errorundefined() RETURNS void AS 'MODULE_PATHNAME', 'pg_mustach_with_errorundefined' LANGUAGE 'c';
CREATE FUNCTION mustach_with_escfirstcmp() RETURNS void AS 'MODULE_PATHNAME', 'pg_mustach_with_escfirstcmp' LANGUAGE 'c';
CREATE FUNCTION mustach_with_incpartial() RETURNS void AS 'MODULE_PATHNAME', 'pg_mustach_with_incpartial' LANGUAGE 'c';
CREATE FUNCTION mustach_with_jsonpointer() RETURNS void AS 'MODULE_PATHNAME', 'pg_mustach_with_jsonpointer' LANGUAGE 'c';
CREATE FUNCTION mustach_with_noextensions() RETURNS void AS 'MODULE_PATHNAME', 'pg_mustach_with_noextensions' LANGUAGE 'c';
CREATE FUNCTION mustach_with_objectiter() RETURNS void AS 'MODULE_PATHNAME', 'pg_mustach_with_objectiter' LANGUAGE 'c';
CREATE FUNCTION mustach_with_partialdatafirst() RETURNS void AS 'MODULE_PATHNAME', 'pg_mustach_with_partialdatafirst' LANGUAGE 'c';
CREATE FUNCTION mustach_with_singledot() RETURNS void AS 'MODULE_PATHNAME', 'pg_mustach_with_singledot' LANGUAGE 'c';
CREATE FUNCTION mustach("json" JSON, template TEXT) RETURNS TEXT AS 'MODULE_PATHNAME', 'pg_mustach_json_c' LANGUAGE 'c';
CREATE FUNCTION mustach("json" JSON, template TEXT, file TEXT) RETURNS BOOL AS 'MODULE_PATHNAME', 'pg_mustach_json_c' LANGUAGE 'c';
CREATE FUNCTION mustach_cjson("json" JSON, template TEXT) RETURNS TEXT AS 'MODULE_PATHNAME', 'pg_mustach_cjson' LANGUAGE 'c';
CREATE FUNCTION mustach_cjson("json" JSON, template TEXT, file TEXT) RETURNS BOOL AS 'MODULE_PATHNAME', 'pg_mustach_cjson' LANGUAGE 'c';
CREATE FUNCTION mustach_jansson("json" JSON, template TEXT) RETURNS TEXT AS 'MODULE_PATHNAME', 'pg_mustach_jansson' LANGUAGE 'c';
CREATE FUNCTION mustach_jansson("json" JSON, template TEXT, file TEXT) RETURNS BOOL AS 'MODULE_PATHNAME', 'pg_mustach_jansson' LANGUAGE 'c';
CREATE FUNCTION mustach_json_c("json" JSON, template TEXT) RETURNS TEXT AS 'MODULE_PATHNAME', 'pg_mustach_json_c' LANGUAGE 'c';
CREATE FUNCTION mustach_json_c("json" JSON, template TEXT, file TEXT) RETURNS BOOL AS 'MODULE_PATHNAME', 'pg_mustach_json_c' LANGUAGE 'c';