summaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_expr.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-05-27 19:19:50 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-05-27 19:19:50 +0000
commitce2a001a2c3c6b3b314f9777c81e42e35c43eb77 (patch)
tree4acf216a3ed0cc91908061b632e148345ef2775d /src/backend/parser/parse_expr.c
parent44744ddd9bd1388f7d3e459893017dffbc10b20d (diff)
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/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions