mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-18 20:36:58 +08:00
This covers basic calls within a single backend process, and also calling dsa_allocate() or dsa_get_address() while in a different resource owners. The latter case was fixed by the previous commit. Discussion: https://www.postgresql.org/message-id/11b70743-c5f3-3910-8e5b-dd6c115ff829%40gmail.com
13 lines
379 B
SQL
13 lines
379 B
SQL
/* src/test/modules/test_dsa/test_dsa--1.0.sql */
|
|
|
|
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
|
|
\echo Use "CREATE EXTENSION test_dsa" to load this file. \quit
|
|
|
|
CREATE FUNCTION test_dsa_basic()
|
|
RETURNS pg_catalog.void
|
|
AS 'MODULE_PATHNAME' LANGUAGE C;
|
|
|
|
CREATE FUNCTION test_dsa_resowners()
|
|
RETURNS pg_catalog.void
|
|
AS 'MODULE_PATHNAME' LANGUAGE C;
|