postgresql/src
Tom Lane 0c969e1fec Avoid performing encoding conversion on command tag strings during EndCommand.
Since all current and foreseeable future command tags will be pure ASCII,
there is no need to do conversion on them.  This saves a few cycles and also
avoids polluting otherwise-pristine subtransaction memory contexts, which
is the cause of the backend memory leak exhibited in bug #5302.  (Someday
we'll probably want to have a better method of determining whether
subtransaction contexts need to be kept around, but today is not that day.)

Backpatch to 8.0.  The cycle-shaving aspect of this would work in 7.4
too, but without subtransactions the memory-leak aspect doesn't apply,
so it doesn't seem worth touching 7.4.
2010-01-30 20:10:11 +00:00
..
backend Avoid performing encoding conversion on command tag strings during EndCommand. 2010-01-30 20:10:11 +00:00
bin Translation updates 2009-12-08 22:13:05 +00:00
include tag 8.2.15 2009-12-10 03:09:47 +00:00
interfaces Set errno to zero before invoking SSL_read or SSL_write. It appears that 2009-12-30 03:46:08 +00:00
makefiles Add $(CFLAGS) to the simplified build rule for .so libraries on Darwin. 2006-11-28 05:45:43 +00:00
pl Apply Tcl_Init() to the "hold" interpreter created by pltcl. 2010-01-25 01:58:33 +00:00
port tag 8.2.15 2009-12-10 03:09:47 +00:00
template Make --with-ldap build on Unixware, per Olivier Prenant. 2006-12-14 21:50:07 +00:00
test Fix the handling of sub-SELECTs appearing in the arguments of an outer-level 2009-04-25 16:45:12 +00:00
timezone Update time zone data files to tzdata release 2009s: DST law changes in 2009-12-09 00:36:18 +00:00
tools Enable the use of multiple CPUs/cores when building on MSVC. This only 2009-08-10 11:48:48 +00:00
tutorial Fix some misuses of strncat(). 2006-09-27 16:19:42 +00:00
bcc32.mak Fix bcc32.mak to create and remove pg_config_os.h properly. Apparently 2006-10-06 18:53:53 +00:00
DEVELOPERS Testing commit stuff 2006-07-10 15:50:02 +00:00
Makefile Remove dllinit.c; it was only needed for long-obsolete Cygwin versions, 2006-06-22 23:50:35 +00:00
Makefile.global.in On Windows, we know the backend stack size limit because we have to 2006-10-08 17:15:34 +00:00
Makefile.shlib Fix shared library creation to work properly on AIX. Albe Laurenz 2006-09-19 15:36:08 +00:00
nls-global.mk When merging PO files, take into consideration translations in other PO 2006-04-05 13:40:15 +00:00
win32.mak Fix win32.mak for config cleanup. 2006-08-08 22:44:05 +00:00