ResetSystemCaches(was Re: relation ### modified while in use)

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема ResetSystemCaches(was Re: relation ### modified while in use)
Дата
Msg-id 3A0602AD.25D2591C@tpf.co.jp
обсуждение исходный текст
Ответ на RE: relation ### modified while in use  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Ответы Re: ResetSystemCaches(was Re: relation ### modified while in use)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi

RelationCacheInvalidate() is called from ResetSystemCaches()
and calles RelationFlushRelation() for all relation descriptors
except some nailed system relations.
I'm wondering why nailed relations could be exceptions.
Conversely why must RelationCacheInvalidate() call
RelationFlushRelation() for other system relations ?
Isn't it sufficient to call smgrclose() and replace rd_rel
member of system relations by the latest ones instead
of calling RelationFlushRelation() ?
There's -O option of postmaster(postgres) which allows
system table structure modification.  I'm suspicious
if it has been used properly before.

Comments ?

Regards.
Hiroshi Inoue



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: Re: Transaction ID wraparound: problem and proposed solution
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Unicode conversion (Re: [COMMITTERS] pgsql (configure.in))