aboutsummaryrefslogtreecommitdiff
path: root/src/test/modules/worker_spi/worker_spi--1.0.sql
blob: 84deb6199f6352cbc26f56a8f9439372c9fbaee1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* src/test/modules/worker_spi/worker_spi--1.0.sql */

-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "CREATE EXTENSION worker_spi" to load this file. \quit

-- In the default case, dboid and roleoid fall back to their respective GUCs.
CREATE FUNCTION worker_spi_launch(index int4,
  dboid oid DEFAULT 0,
  roleoid oid DEFAULT 0,
  flags text[] DEFAULT '{}')
RETURNS pg_catalog.int4 STRICT
AS 'MODULE_PATHNAME'
LANGUAGE C;