Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
2 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Copyright (c) 2022-2026, PostgreSQL Global Development Group
 
if not get_option('injection_points')
  subdir_done()
endif
 
injection_points_sources = files(
  'injection_points.c',
  'regress_injection.c',
)
 
if host_system == 'windows'
  injection_points_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
    '--NAME', 'injection_points',
    '--FILEDESC', 'injection_points - facility for injection points',])
endif
 
injection_points = shared_module('injection_points',
  injection_points_sources,
  kwargs: pg_test_mod_args,
)
test_install_libs += injection_points
 
test_install_data += files(
  'injection_points.control',
  'injection_points--1.0.sql',
)
 
tests += {
  'name': 'injection_points',
  'sd': meson.current_source_dir(),
  'bd': meson.current_build_dir(),
  'regress': {
    'sql': [
      'injection_points',
      'hashagg',
      'portal_bind',
      'reindex_conc',
      'vacuum',
    ],
    'regress_args': ['--dlpath', meson.project_build_root() / 'src/test/regress'],
    # The injection points are cluster-wide, so disable installcheck
    'runningcheck': false,
  },
  'isolation': {
    'specs': [
      'basic',
      'inplace',
      'reindex_concurrently_deferred',
      'reindex_concurrently_toast',
      'repack',
      'repack_commit_race',
      'repack_decode',
      'repack_dropped',
      'repack_missingval',
      'repack_temporal',
      'repack_temporal_multirange',
      'repack_toast',
      'ri_fastpath_reindex',
      'ri_fastpath_snapshot',
      'syscache-update-pruned',
      'wait_cleanup',
      'heap_lock_update',
      'on_conflict_probe_window',
      'multixact-aborted-updater',
    ],
    'runningcheck': false, # see syscache-update-pruned
    # Some tests wait for all snapshots, so avoid parallel execution
    'runningcheck-parallel': false,
    # some tests require wal_level=replica
    'regress_args': [
      '--temp-config', files('extra.conf'),
    ],
  },
}