diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-05-27 19:19:44 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-05-27 19:19:44 +0000 |
commit | 1fa43c594fd17f46e9aeb54a98d761feb47bf2f5 (patch) | |
tree | 0e6ff77a048eb23c47d0e64b1c439c93e3a04afb /src/backend/executor/nodeMergejoin.c | |
parent | 8ca22ee11cdb74e84ae43e81b7a55865452b0ef4 (diff) | |
download | postgresql-1fa43c594fd17f46e9aeb54a98d761feb47bf2f5.tar.gz postgresql-1fa43c594fd17f46e9aeb54a98d761feb47bf2f5.zip |
Change ps_status.c to explicitly track the current logical length of ps_buffer.
This saves cycles in get_ps_display() on many popular platforms, and more
importantly ensures that get_ps_display() will correctly return an empty
string if init_ps_display() hasn't been called yet. Per trouble report
from Ray Stell, in which log_line_prefix %i produced junk early in backend
startup.
Back-patch to 8.0. 7.4 doesn't have %i and its version of get_ps_display()
makes no pretense of avoiding pad junk anyhow.
Diffstat (limited to 'src/backend/executor/nodeMergejoin.c')
0 files changed, 0 insertions, 0 deletions