aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execParallel.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-10-03 13:05:01 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-10-03 13:05:01 -0400
commit6d842be6c11887930a0f4128fd6aa4de427cfd2a (patch)
tree81846676d12c8eef74ce60e25197ccac756a9b7f /src/backend/executor/execParallel.c
parentabd9ca377d669a6e0560e854d7e987438d0e612e (diff)
downloadpostgresql-6d842be6c11887930a0f4128fd6aa4de427cfd2a.tar.gz
postgresql-6d842be6c11887930a0f4128fd6aa4de427cfd2a.zip
Provide fast path in snprintf.c for conversion specs that are just "%s".
This case occurs often enough (around 45% of conversion specs executed in our regression tests are just "%s") that it's worth an extra test per conversion spec to allow skipping all the logic associated with field widths and padding when it happens. Discussion: https://postgr.es/m/26193.1538582367@sss.pgh.pa.us
Diffstat (limited to 'src/backend/executor/execParallel.c')
0 files changed, 0 insertions, 0 deletions