postgresql/src
Heikki Linnakangas 3c66048adb When a relation is moved to another tablespace, we can't assume that we can
use the old relfilenode in the new tablespace. There might be another relation
in the new tablespace with the same relfilenode, so we must generate a fresh
relfilenode in the new tablespace.

The 8.3 patch to let deleted relation files linger as zero-length files until
the next checkpoint made this more obvious: moving a relation from one table
space another, and then back again, caused a collision with the lingering
file.

Back-patch to 8.1. The issue is present in 8.0 as well, but it doesn't seem
worth fixing there, because we didn't have protection from OID collisions
after OID wraparound before 8.1.

Report by Guillaume Lelarge.
2008-10-07 11:15:48 +00:00
..
backend When a relation is moved to another tablespace, we can't assume that we can 2008-10-07 11:15:48 +00:00
bin Recent patches to pg_ctl broke "pg_ctl restart" for the case where no 2008-09-30 13:14:07 +00:00
include Mark SessionReplicationRole as PGDLLIMPORT so it 2008-09-19 14:43:47 +00:00
interfaces Link libpq with libgssapi if configure finds it, as 2008-10-01 15:35:34 +00:00
makefiles Teach pgxs.mk and Install.pm how to install files from a contrib module 2007-10-16 16:00:00 +00:00
pl Fix plpgsql's exec_move_row() to supply valid type OIDs to exec_assign_value() 2008-09-01 22:30:40 +00:00
port tag for 8.3.4 2008-09-19 03:04:13 +00:00
template Use SYSV semaphores rather than POSIX on Darwin >= 6.0 (i.e., OS X 10.2 2007-09-26 00:32:46 +00:00
test Fix copy-and-pasteo that's causing pg_regress to lie about which file it can't 2008-08-03 05:12:45 +00:00
timezone Update time zone data files to tzdata release 2008f (DST law changes in 2008-09-17 14:18:46 +00:00
tools Create a script to handle stamping release version numbers into files, 2008-06-10 18:08:55 +00:00
tutorial Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
bcc32.mak Remove old-style win32 client-only visual c++ build infrastructure for everything except 2007-03-05 14:18:38 +00:00
DEVELOPERS Testing commit stuff 2006-07-10 15:50:02 +00:00
Makefile Tsearch2 functionality migrates to core. The bulk of this work is by 2007-08-21 01:11:32 +00:00
Makefile.global.in I find that an out-of-the-box installation of OSSP uuid 1.6.0 installs 2007-11-13 00:13:19 +00:00
Makefile.shlib Change $(CC) to $(COMPILER) on Solaris gcc so -m64 is passed into the 2007-02-20 22:45:57 +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 Update supported standalone VC++ version to 7.1+ only, and fix 2007-08-03 10:47:11 +00:00