Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit28687a1

Browse files
authored
Merge pull request#84 from postgrespro/meson_build_master
Add meson.build file to support building from the contrib source tree.
2 parentsc322958 +36f59d2 commit28687a1

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

‎meson.build

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Copyright (c) 2025, Postgres Professional
2+
3+
# Does not support the PGXS infrastructure at this time. Please, compile as part
4+
# of the contrib source tree.
5+
6+
pg_wait_sampling_sources=files(
7+
'collector.c',
8+
'pg_wait_sampling.c',
9+
)
10+
11+
if host_system=='windows'
12+
pg_wait_sampling_sources+= rc_lib_gen.process(win32ver_rc,extra_args: [
13+
'--NAME','pg_wait_sampling',
14+
'--FILEDESC','pg_wait_sampling - provides information about the current wait events for particular processes.',])
15+
endif
16+
17+
pg_wait_sampling=shared_module('pg_wait_sampling',
18+
pg_wait_sampling_sources,
19+
kwargs: contrib_mod_args,
20+
)
21+
contrib_targets+= pg_wait_sampling
22+
23+
install_data(
24+
'pg_wait_sampling.control',
25+
'pg_wait_sampling--1.0--1.1.sql',
26+
'pg_wait_sampling--1.1.sql',
27+
kwargs: contrib_data_args,
28+
)
29+
30+
tests+= {
31+
'name':'pg_wait_sampling',
32+
'sd':meson.current_source_dir(),
33+
'bd':meson.current_build_dir(),
34+
'regress': {
35+
'sql': [
36+
'load',
37+
'queries',
38+
],
39+
'regress_args': ['--temp-config',files('conf.add')],
40+
},
41+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp