/
balmaster
/
postgres
Обзор
Документация
Войти
/
balmaster
/
postgres
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/test/modules/worker_spi/worker_spi--1.0.sql
14 строк
500 B
Michael Paquier
Allow bgworkers to be terminated for database-related commands
06 янв 2026, 08:24
06 янв 2026, 08:24
f1e251b
Код
Авторство
О чём код?
/* 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 '{}', interruptible boolean DEFAULT false) RETURNS pg_catalog.int4 STRICT AS 'MODULE_PATHNAME' LANGUAGE C;