aboutsummaryrefslogtreecommitdiff
path: root/src/backend/nodes/nodeFuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-03-27 14:38:05 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2022-03-27 14:38:05 -0400
commit641a9b716789628a4e7403ecef1b82cc4a9552b0 (patch)
tree15b78704b0034828b0d95b6e2bb5dc77a8340f70 /src/backend/nodes/nodeFuncs.c
parent0fb6954aa5012fc0c41af364fb328f90e648f6b7 (diff)
downloadpostgresql-641a9b716789628a4e7403ecef1b82cc4a9552b0.tar.gz
postgresql-641a9b716789628a4e7403ecef1b82cc4a9552b0.zip
Avoid using large pass-by-value struct arguments in pgbench.
In the wake of commit 4a39f87ac, which noticeably increased the size of struct StatsData and thereby ParsedScript, Coverity started to complain that ParsedScript was unreasonably large to be passing by value. The two places that do this are only used during setup, so they're not really dragging down benchmark measurements --- but gratuitous inefficiency is not a good look in a benchmarking program. Convert to use pointers instead.
Diffstat (limited to 'src/backend/nodes/nodeFuncs.c')
0 files changed, 0 insertions, 0 deletions