aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/explain.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2024-10-10 17:02:08 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2024-10-10 17:02:08 -0400
commitc75c6f8d280a3364643fc51f9c9fdf2dee0213c2 (patch)
treefc08642279184e0c0a59ef5a7ba118ba4d25e80d /src/backend/commands/explain.c
parent95eb4cd4ff0648afc32abbfaacc9718f6b91bf7b (diff)
downloadpostgresql-c75c6f8d280a3364643fc51f9c9fdf2dee0213c2.tar.gz
postgresql-c75c6f8d280a3364643fc51f9c9fdf2dee0213c2.zip
Don't hard-code the input file name in gen_tabcomplete.pl's output.
Use $ARGV[0], that is the specified input file name, in #line directives generated by gen_tabcomplete.pl. This makes code coverage reports work properly in the meson build system (where the input file name will be a relative path). Also fix up brain fade in the meson build rule for tab-complete.c: we only need to write the input file name once not twice. Jacob Champion (some cosmetic adjustments by me) Discussion: https://postgr.es/m/CAOYmi+=+oWAoi8pqnH0MJQqsSn4ddzqDhqRQJvyiN2aJSWvw2w@mail.gmail.com
Diffstat (limited to 'src/backend/commands/explain.c')
0 files changed, 0 insertions, 0 deletions