postgresql/src/backend
Heikki Linnakangas 17409471b5 Fix logic in lazy vacuum to decide if it's worth trying to truncate the heap.
If the table was smaller than REL_TRUNCATE_FRACTION (= 16) pages, we always
tried to acquire AccessExclusiveLock on it even if there was no empty pages
at the end.

Report by Simon Riggs. Back-patch all the way to 7.4.
2009-01-06 14:55:50 +00:00
..
access Make heap_update() set newtup->t_tableOid correctly, for consistency with 2008-12-16 16:26:21 +00:00
bootstrap On systems that have setsid(2) (which should be just about everything except 2006-11-21 20:59:53 +00:00
catalog Fix an oversight in the original implementation of performMultipleDeletions(): 2008-07-11 16:08:57 +00:00
commands Fix logic in lazy vacuum to decide if it's worth trying to truncate the heap. 2009-01-06 14:55:50 +00:00
executor Ensure that the contents of a holdable cursor don't depend on out-of-line 2008-12-01 17:06:35 +00:00
lib Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
libpq Fix parsing of LDAP URLs so it doesn't reject spaces in the "suffix" part. 2008-07-24 17:52:09 +00:00
main Fix erroneous implementation of -s in postmaster.c (the switch doesn't take 2007-01-04 00:58:01 +00:00
nodes Fix an oversight in the code that makes transitive-equality deductions from 2008-12-01 21:06:31 +00:00
optimizer Fix an oversight in the code that makes transitive-equality deductions from 2008-12-01 21:06:31 +00:00
parser Fix failure to ensure that a snapshot is available to datatype input functions 2008-12-13 02:00:53 +00:00
po Translation updates 2008-10-30 20:12:35 +00:00
port Repair two places where SIGTERM exit could leave shared memory state 2008-04-17 00:00:01 +00:00
postmaster Fix 'pg_ctl reload' to properly preserve postmaster commend-line 2008-06-27 01:53:20 +00:00
regex Fix assorted security-grade bugs in the regex engine. All of these problems 2008-01-03 20:48:49 +00:00
rewrite Fix more problems with rewriter failing to set Query.hasSubLinks when inserting 2008-09-24 16:53:00 +00:00
storage Repair two places where SIGTERM exit could leave shared memory state 2008-04-17 00:00:01 +00:00
tcop Fix failure to ensure that a snapshot is available to datatype input functions 2008-12-13 02:00:53 +00:00
utils Remove inappropriate memory context switch in shutdown_MultiFuncCall(). 2008-11-30 18:49:48 +00:00
Makefile On Windows, we know the backend stack size limit because we have to 2006-10-08 17:15:34 +00:00
nls.mk Install a more robust solution for the problem of infinite error-processing 2008-10-27 19:37:36 +00:00