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

Add meson.build file to support building from the contrib source tree.#61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
sokolcati merged 1 commit intomasterfrommeson_build_master
Jan 28, 2025
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletionsmeson.build
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
# Copyright (c) 2025, Postgres Professional

# Does not support the PGXS infrastructure at this time. Please, compile as part
# of the contrib source tree.

pg_query_state_sources = files(
'pg_query_state.c',
'signal_handler.c',
)

if host_system == 'windows'
pg_query_state_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
'--NAME', 'pg_query_state',
'--FILEDESC', 'pg_query_state - provides facility to know the current state of query execution on working backend.',])
endif

pg_query_state = shared_module('pg_query_state',
pg_query_state_sources,
kwargs: contrib_mod_args,
)
contrib_targets += pg_query_state

extversion = '1.1'
output_name = 'pg_query_state--' + extversion + '.sql'

configure_file(
input: 'init.sql',
output: output_name,
copy: true,
install: true,
install_dir: contrib_data_args['install_dir'],
)

install_data(
'pg_query_state.control',
'pg_query_state--1.0--1.1.sql',
kwargs: contrib_data_args,
)

tests += {
'name': 'pg_query_state',
'sd': meson.current_source_dir(),
'bd': meson.current_build_dir(),
'isolation': {
'specs': [
'corner_cases',
],
'regress_args': [
'--temp-config', files('test.conf'),
'--load-extension=pg_query_state',
],
},
}

[8]ページ先頭

©2009-2025 Movatter.jp