Исходный код СУБД 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
# Copyright (c) 2022-2026, PostgreSQL Global Development Group
 
lwlocknames_h = custom_target('lwlocknames_h',
  input: files(
    '../../include/storage/lwlocklist.h',
    '../../backend/utils/activity/wait_event_names.txt'),
  output: ['lwlocknames.h'],
  command: [
    perl, files('../../backend/storage/lmgr/generate-lwlocknames.pl'),
    '-o', '@OUTDIR@',
    '@INPUT@'
  ],
  build_by_default: true,
  install: true,
  install_dir: dir_include_server / 'storage',
)
 
generated_backend_headers += lwlocknames_h
 
# autoconf generates the file there, ensure we get a conflict
generated_sources_ac += {'src/backend/storage/lmgr': ['lwlocknames.h']}