1 # Copyright (c) 2022-2024, PostgreSQL Global Development Group
3 pg_walinspect_sources = files('pg_walinspect.c')
5 if host_system == 'windows'
6 pg_walinspect_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
7 '--NAME', 'pg_walinspect',
8 '--FILEDESC', 'pg_walinspect - functions to inspect contents of PostgreSQL Write-Ahead Log',])
11 pg_walinspect = shared_module('pg_walinspect',
12 pg_walinspect_sources,
13 kwargs: contrib_mod_args + {
14 'dependencies': contrib_mod_args['dependencies'],
17 contrib_targets += pg_walinspect
20 'pg_walinspect.control',
21 'pg_walinspect--1.0.sql',
22 'pg_walinspect--1.0--1.1.sql',
23 kwargs: contrib_data_args,
27 'name': 'pg_walinspect',
28 'sd': meson.current_source_dir(),
29 'bd': meson.current_build_dir(),
35 # Disabled because these tests require "wal_level=replica", which
36 # some runningcheck users do not have (e.g. buildfarm clients).
37 'regress_args': ['--temp-config', files('walinspect.conf')],
38 'runningcheck': false,