postgresql/src/backend
Tom Lane de57ea162c 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.
2010-05-27 19:20:16 +00:00
..
access Fix STOP WAL LOCATION in backup history files no to return the next 2010-02-19 01:09:02 +00:00
bootstrap Postpone pg_timezone_initialize() until after creation of postmaster.pid, 2005-10-20 20:06:03 +00:00
catalog Prevent indirect security attacks via changing session-local state within 2009-12-09 21:58:56 +00:00
commands Prevent ALTER USER f RESET ALL from removing the settings that were put there 2010-03-25 14:45:51 +00:00
executor Prevent indirect security attacks via changing session-local state within 2009-12-09 21:58:56 +00:00
lib Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
libpq When reading pg_hba.conf and similar files, do not treat @file as an inclusion 2010-03-06 00:46:18 +00:00
main Set progname early in the postmaster/postgres binary, rather than doing 2006-02-01 00:47:03 +00:00
nodes Fix outfuncs.c to dump A_Const nodes representing NULLs correctly. This has 2007-07-17 01:22:11 +00:00
optimizer Fix the handling of sub-SELECTs appearing in the arguments of an outer-level 2009-04-25 16:45:25 +00:00
parser Work around a subtle portability problem in use of printf %s format. 2010-05-08 16:40:45 +00:00
po Translation update 2010-05-13 07:11:54 +00:00
port Add code to InternalIpcMemoryCreate() to handle the case where shmget() 2010-05-01 22:47:08 +00:00
postmaster Ignore attempts to set "application_name" in the connection startup packet. 2009-12-02 17:41:53 +00:00
regex Change regexp engine's ccondissect/crevdissect routines to perform DFA 2010-02-01 02:46:01 +00:00
rewrite Fix markQueryForLocking() to work correctly in the presence of nested views. 2007-03-01 18:50:49 +00:00
storage Clear error_context_stack and debug_query_string at the beginning of proc_exit, 2010-03-20 00:58:38 +00:00
tcop Avoid performing encoding conversion on command tag strings during EndCommand. 2010-01-30 20:10:22 +00:00
utils Change ps_status.c to explicitly track the current logical length of ps_buffer. 2010-05-27 19:20:16 +00:00
Makefile Back-port several small portability fixes to get contrib building 2005-08-02 01:35:23 +00:00
nls.mk Install a more robust solution for the problem of infinite error-processing 2008-10-27 19:37:48 +00:00