OSDN Git Service

Simplify relcache startup sequence. With the new design of InitPostgres
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 4 May 2006 18:51:36 +0000 (18:51 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 4 May 2006 18:51:36 +0000 (18:51 +0000)
commit46287bd6602ea055e2099426550a4bfafab8ed6f
treed91853ff4152752451ccef3dd2358bffa41e6b2d
parent52667d56a3b489e5645f069522631824b7ffc520
Simplify relcache startup sequence.  With the new design of InitPostgres
it's not necessary to have three separate calls anymore.  This patch also
fixes things so we don't try to read pg_internal.init until after we've
obtained lock on the target database; which was fairly harmless, but it's
certainly cleaner this way.
src/backend/utils/cache/relcache.c
src/backend/utils/init/postinit.c
src/include/utils/relcache.h