postgresql/src
Tom Lane fcb7c14d02 Repair subtle VACUUM bug that led to 'HEAP_MOVED_IN was not expected'
errors.  VACUUM normally compacts the table back-to-front, and stops
as soon as it gets to a page that it has moved some tuples onto.
(This logic doesn't make for a complete packing of the table, but it
should be pretty close.)  But the way it was checking whether it had
got to a page with some moved-in tuples was to look at whether the
current page was the same as the last page of the list of pages that
have enough free space to be move-in targets.  And there was other
code that would remove pages from that list once they got full.
There was a kluge that prevented the last list entry from being
removed, but it didn't get the job done.  Fixed by keeping a separate
variable that contains the largest block number into which a tuple
has been moved.  There's no longer any need to protect the last element
of the fraged_pages list.
Also, fix NOTICE messages to describe elapsed user/system CPU time
correctly.
2000-01-10 04:09:50 +00:00
..
backend Repair subtle VACUUM bug that led to 'HEAP_MOVED_IN was not expected' 2000-01-10 04:09:50 +00:00
bin Add more portability to echo -n (code stolen from createlang) 2000-01-09 12:06:52 +00:00
corba Updating and addign files... 1998-11-19 02:39:51 +00:00
data I've sent 3 mails to pgsql-patches. There are two files, one for doc 1999-08-16 20:27:19 +00:00
include Add SetPidFile() and friends. 2000-01-09 12:19:27 +00:00
interfaces This patch removes the initialization of ri in loop in 2000-01-08 22:58:03 +00:00
lextest Apply Win32 patch from Horak Daniel. 1999-01-17 06:20:06 +00:00
makefiles I have done the QNX4 port with the current source tree. The number of 1999-12-16 01:25:23 +00:00
pl Fix it's and its to be correct. 2000-01-05 18:23:54 +00:00
template I have done the QNX4 port with the current source tree. The number of 1999-12-16 01:25:23 +00:00
test Update platform-specific-expected-file support so that platforms can be 2000-01-09 20:54:36 +00:00
tools Prevent _deadcode from showing in ctags and mkid 1999-12-13 04:54:01 +00:00
tutorial Move some system includes into c.h, and remove duplicates. 1999-07-17 20:18:55 +00:00
utils Standardize on MAXPGPATH as the size of a file pathname buffer, 1999-10-25 03:08:03 +00:00
win32 Move ipc patch into README.NT. 1999-12-29 10:28:00 +00:00
config.guess I have done the QNX4 port with the current source tree. The number of 1999-12-16 01:25:23 +00:00
config.sub I have done the QNX4 port with the current source tree. The number of 1999-12-16 01:25:23 +00:00
configure New scheme for managing platform-specific regress test result files. 2000-01-09 07:54:00 +00:00
configure.in New scheme for managing platform-specific regress test result files. 2000-01-09 07:54:00 +00:00
DEVELOPERS just testing a script... 1999-07-30 03:45:57 +00:00
GNUmakefile.in New scheme for managing platform-specific regress test result files. 2000-01-09 07:54:00 +00:00
install-sh Bring back in the autoconf files - work in progress 1997-02-04 08:53:45 +00:00
Makefile Warning in makefile added from DArcy. 1997-08-22 16:38:33 +00:00
Makefile.global.in New LDOUT makefile variable for QNX os. 1999-12-13 22:35:27 +00:00
Makefile.shlib Make LD -r as macros that can be changed for QNX. 1999-12-09 19:15:45 +00:00
win32.mak Here are the patches against the current source tree. I have run the 1998-10-06 03:02:29 +00:00