Debian Codegraph @

contrib/pg_surgery/meson.build

raw
1 # Copyright (c) 2022-2025, PostgreSQL Global Development Group
2
3 pg_surgery_sources = files(
4 'heap_surgery.c',
5 )
6
7 if host_system == 'windows'
8 pg_surgery_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
9 '--NAME', 'pg_surgery',
10 '--FILEDESC', 'pg_surgery - perform surgery on a damaged relation',])
11 endif
12
13 pg_surgery = shared_module('pg_surgery',
14 pg_surgery_sources,
15 kwargs: contrib_mod_args,
16 )
17 contrib_targets += pg_surgery
18
19 install_data(
20 'pg_surgery--1.0.sql',
21 'pg_surgery.control',
22 kwargs: contrib_data_args,
23 )
24
25
26 tests += {
27 'name': 'pg_surgery',
28 'sd': meson.current_source_dir(),
29 'bd': meson.current_build_dir(),
30 'regress': {
31 'sql': [
32 'heap_surgery',
33 ],
34 },
35 }