| 1 |
# Copyright (c) 2022-2025, PostgreSQL Global Development Group |
| 2 |
|
| 3 |
auto_explain_sources = files( |
| 4 |
'auto_explain.c', |
| 5 |
) |
| 6 |
|
| 7 |
if host_system == 'windows' |
| 8 |
auto_explain_sources += rc_lib_gen.process(win32ver_rc, extra_args: [ |
| 9 |
'--NAME', 'auto_explain', |
| 10 |
'--FILEDESC', 'auto_explain - logging facility for execution plans',]) |
| 11 |
endif |
| 12 |
|
| 13 |
auto_explain = shared_module('auto_explain', |
| 14 |
auto_explain_sources, |
| 15 |
kwargs: contrib_mod_args, |
| 16 |
) |
| 17 |
contrib_targets += auto_explain |
| 18 |
|
| 19 |
tests += { |
| 20 |
'name': 'auto_explain', |
| 21 |
'sd': meson.current_source_dir(), |
| 22 |
'bd': meson.current_build_dir(), |
| 23 |
'regress': { |
| 24 |
'sql': [ |
| 25 |
'alter_reset', |
| 26 |
], |
| 27 |
}, |
| 28 |
'tap': { |
| 29 |
'tests': [ |
| 30 |
't/001_auto_explain.pl', |
| 31 |
], |
| 32 |
}, |
| 33 |
} |