postgresql/src/backend
Heikki Linnakangas fcd3890f3c 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:56 +00:00
..
access Fix GiST's killing tuple: GISTScanOpaque->curpos wasn't 2008-10-22 12:56:25 +00:00
bootstrap Fix bootstrap.c so that database startup process and bgwriter properly release 2006-06-08 23:55:54 +00:00
catalog Back-patch the 8.3 fix that prohibits TRUNCATE, CLUSTER, and REINDEX when the 2008-05-27 21:13:39 +00:00
commands Fix logic in lazy vacuum to decide if it's worth trying to truncate the heap. 2009-01-06 14:55:56 +00:00
executor Ensure that the contents of a holdable cursor don't depend on out-of-line 2008-12-01 17:06:41 +00:00
lib Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
libpq On win32, don't use SO_REUSEADDR for TCP sockets. 2007-06-04 11:59:34 +00:00
main Set progname early in the postmaster/postgres binary, rather than doing 2006-02-01 00:32:06 +00:00
nodes Fix outfuncs.c to dump A_Const nodes representing NULLs correctly. This has 2007-07-17 01:22:03 +00:00
optimizer In predtest.c, install a limit on the number of branches we will process in 2008-11-12 23:08:55 +00:00
parser Defend against JOINs having more than 32K columns altogether. We cannot 2008-04-05 01:58:42 +00:00
po Translation updates 2008-10-30 19:23:08 +00:00
port Add support for dlopen on recent NetBSD/MIPS, per Rémi Zara. 2008-03-05 21:20:50 +00:00
postmaster Fix 'pg_ctl reload' to properly preserve postmaster commend-line 2008-06-27 01:53:09 +00:00
regex Fix assorted security-grade bugs in the regex engine. All of these problems 2008-01-03 20:48:57 +00:00
rewrite Fix more problems with rewriter failing to set Query.hasSubLinks when inserting 2008-09-24 16:53:07 +00:00
storage Fix WAL replay of truncate operations to cope with the possibility that the 2007-07-20 16:30:05 +00:00
tcop Fix portal management code to support non-default command completion tags for 2007-02-18 19:49:35 +00:00
utils Install a more robust solution for the problem of infinite error-processing 2008-10-27 19:37:42 +00:00
Makefile Add an ifneq to avoid make warning on AIX --- there is a separate rule 2005-10-27 20:45:29 +00:00
nls.mk Install a more robust solution for the problem of infinite error-processing 2008-10-27 19:37:42 +00:00