Preserve CurrentMemoryContext across notify and sinval interrupts.
[pgsql.git] / contrib / pg_prewarm / meson.build
blobda58f70a9f82c05051c31ea88f660d4b2e0cdbea
1 # Copyright (c) 2022-2024, PostgreSQL Global Development Group
3 pg_prewarm_sources = files(
4   'autoprewarm.c',
5   'pg_prewarm.c',
8 if host_system == 'windows'
9   pg_prewarm_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
10     '--NAME', 'pg_prewarm',
11     '--FILEDESC', 'pg_prewarm - preload relation data into system buffer cache',])
12 endif
14 pg_prewarm = shared_module('pg_prewarm',
15   pg_prewarm_sources,
16   kwargs: contrib_mod_args,
18 contrib_targets += pg_prewarm
20 install_data(
21   'pg_prewarm--1.0--1.1.sql',
22   'pg_prewarm--1.1--1.2.sql',
23   'pg_prewarm--1.1.sql',
24   'pg_prewarm.control',
25   kwargs: contrib_data_args,
28 tests += {
29   'name': 'pg_prewarm',
30   'sd': meson.current_source_dir(),
31   'bd': meson.current_build_dir(),
32   'tap': {
33     'tests': [
34       't/001_basic.pl',
35     ],
36   },