postgresql/src/backend
Tom Lane 715120e7ac When loading critical system indexes into the relcache, ensure we lock the
underlying catalog not only the index itself.  Otherwise, if the cache
load process touches the catalog (which will happen for many though not
all of these indexes), we are locking index before parent table, which can
result in a deadlock against processes that are trying to lock them in the
normal order.  Per today's failure on buildfarm member gothic_moth; it's
surprising the problem hadn't been identified before.

Back-patch to 8.2.  Earlier releases didn't have the issue because they
didn't try to lock these indexes during load (instead assuming that they
couldn't change schema at all during multiuser operation).
2010-01-13 23:07:08 +00:00
..
access Remove partial, broken support for NULL pointers when fetching attributes. 2010-01-10 04:26:36 +00:00
bootstrap Fix a few places where we needed -I. in CPPFLAGS to work properly in 2010-01-05 03:56:52 +00:00
catalog Please tablespace directories in their own subdirectory so pg_migrator 2010-01-12 02:42:52 +00:00
commands Please tablespace directories in their own subdirectory so pg_migrator 2010-01-12 02:42:52 +00:00
executor Improve ExecEvalVar's handling of whole-row variables in cases where the 2010-01-11 15:31:04 +00:00
foreign Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
lib Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
libpq Create typedef pgsocket for storing socket descriptors. 2010-01-10 14:16:08 +00:00
main Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
nodes Support ALTER TABLESPACE name SET/RESET ( tablespace_options ). 2010-01-05 21:54:00 +00:00
optimizer Add support for doing FULL JOIN ON FALSE. While this is really a rather 2010-01-05 23:25:36 +00:00
parser Make fixed_paramref_hook behave properly when there are 'unused' slots 2010-01-13 01:17:07 +00:00
po Translation updates 2009-12-19 20:23:26 +00:00
port Silence compiler warning about printf format for HANDLE. 2010-01-04 01:06:21 +00:00
postmaster Add some simple support and documentation for using process-specific oom_adj 2010-01-11 18:39:32 +00:00
regex Teach the regular expression functions to do case-insensitive matching and 2009-12-01 21:00:24 +00:00
rewrite Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
snowball Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
storage Please tablespace directories in their own subdirectory so pg_migrator 2010-01-12 02:42:52 +00:00
tcop Fix (some of the) breakage introduced into query-cancel processing by HS. 2010-01-07 16:29:58 +00:00
tsearch When estimating the selectivity of an inequality "column > constant" or 2010-01-04 02:44:40 +00:00
utils When loading critical system indexes into the relcache, ensure we lock the 2010-01-13 23:07:08 +00:00
Makefile Fix parallel-make timing problem. 2010-01-05 01:20:35 +00:00
common.mk Expand test coverage support to entire tree 2009-08-07 20:50:22 +00:00
nls.mk Convert the core lexer and parser into fully reentrant code, by making use 2009-07-13 02:02:20 +00:00