Avoid crash in estimate_array_length with null root pointer.
[pgsql.git] / src / backend / utils / misc / meson.build
blob66695022052249580b776ae012ca8eb1ddb84420
1 # Copyright (c) 2022-2024, PostgreSQL Global Development Group
3 backend_sources += files(
4   'conffiles.c',
5   'guc.c',
6   'guc_funcs.c',
7   'guc_tables.c',
8   'help_config.c',
9   'injection_point.c',
10   'pg_config.c',
11   'pg_controldata.c',
12   'pg_rusage.c',
13   'ps_status.c',
14   'queryenvironment.c',
15   'rls.c',
16   'sampling.c',
17   'superuser.c',
18   'timeout.c',
19   'tzparser.c',
22 guc_scan = custom_target('guc_scan',
23   input: 'guc-file.l',
24   output: 'guc-file.c',
25   command: flex_cmd)
26 generated_sources += guc_scan
28 # so we don't need to add . as an include dir for the whole backend
29 backend_link_with += static_library('guc-file',
30   guc_scan,
31   dependencies: [backend_code],
32   include_directories: include_directories('.'),
33   kwargs: internal_lib_args,
36 install_data('postgresql.conf.sample',
37   install_dir: dir_data,