]> granicus.if.org Git - postgresql/commit
Modify index-opening code to guarantee that the indexes of a relation
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 19 Jun 2000 23:40:48 +0000 (23:40 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 19 Jun 2000 23:40:48 +0000 (23:40 +0000)
commita1dfaef6c6e2da34dbc808f205665a6c96362149
tree66c1e193663f4b5d75cb5cc3b63eb868852de3f8
parent1f75cdd5ed4a93d171ff979a7a66ae69dbd0d69f
Modify index-opening code to guarantee that the indexes of a relation
are opened in a consistent order by different backends (I ordered them
by index OID because that's easy, but any other consistent order would
do as well).  This avoids potential deadlock for index types that we
acquire exclusive locks on ... ie, rtree.
src/backend/executor/execUtils.c
src/backend/utils/cache/relcache.c