1 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
2 \echo Use "CREATE EXTENSION test_slru" to load this file. \quit
4 CREATE OR REPLACE FUNCTION test_slru_page_write(bigint, text) RETURNS VOID
5 AS 'MODULE_PATHNAME', 'test_slru_page_write' LANGUAGE C;
6 CREATE OR REPLACE FUNCTION test_slru_page_writeall() RETURNS VOID
7 AS 'MODULE_PATHNAME', 'test_slru_page_writeall' LANGUAGE C;
8 CREATE OR REPLACE FUNCTION test_slru_page_sync(bigint) RETURNS VOID
9 AS 'MODULE_PATHNAME', 'test_slru_page_sync' LANGUAGE C;
10 CREATE OR REPLACE FUNCTION test_slru_page_read(bigint, bool DEFAULT true) RETURNS text
11 AS 'MODULE_PATHNAME', 'test_slru_page_read' LANGUAGE C;
12 CREATE OR REPLACE FUNCTION test_slru_page_readonly(bigint) RETURNS text
13 AS 'MODULE_PATHNAME', 'test_slru_page_readonly' LANGUAGE C;
14 CREATE OR REPLACE FUNCTION test_slru_page_exists(bigint) RETURNS bool
15 AS 'MODULE_PATHNAME', 'test_slru_page_exists' LANGUAGE C;
16 CREATE OR REPLACE FUNCTION test_slru_page_delete(bigint) RETURNS VOID
17 AS 'MODULE_PATHNAME', 'test_slru_page_delete' LANGUAGE C;
18 CREATE OR REPLACE FUNCTION test_slru_page_truncate(bigint) RETURNS VOID
19 AS 'MODULE_PATHNAME', 'test_slru_page_truncate' LANGUAGE C;
20 CREATE OR REPLACE FUNCTION test_slru_delete_all() RETURNS VOID
21 AS 'MODULE_PATHNAME', 'test_slru_delete_all' LANGUAGE C;