codekingpro/portable-devtools
114k
1/* contrib/pg_prewarm/pg_prewarm--1.1.sql */2 3-- complain if script is sourced in psql, rather than via CREATE EXTENSION4\echo Use "CREATE EXTENSION pg_prewarm" to load this file. \quit5 6-- Register the function.7CREATE FUNCTION pg_prewarm(regclass,8 mode text default 'buffer',9 fork text default 'main',10 first_block int8 default null,11 last_block int8 default null)12RETURNS int813AS 'MODULE_PATHNAME', 'pg_prewarm'14LANGUAGE C PARALLEL SAFE;15 