Unmark gen_random_uuid() function leakproof.
[pgsql.git] / src / include / storage / meson.build
blobf889093117e3931a76163eb31b234f7d0b9d7508
1 # Copyright (c) 2022-2024, PostgreSQL Global Development Group
3 lwlocknames_h = custom_target('lwlocknames_h',
4   input: files(
5     '../../include/storage/lwlocklist.h',
6     '../../backend/utils/activity/wait_event_names.txt'),
7   output: ['lwlocknames.h'],
8   command: [
9     perl, files('../../backend/storage/lmgr/generate-lwlocknames.pl'),
10     '-o', '@OUTDIR@',
11     '@INPUT@'
12   ],
13   build_by_default: true,
14   install: true,
15   install_dir: dir_include_server / 'storage',
18 generated_backend_headers += lwlocknames_h
20 # autoconf generates the file there, ensure we get a conflict
21 generated_sources_ac += {'src/backend/storage/lmgr': ['lwlocknames.h']}