Re: pg_restore problems and suggested resolution

Поиск
Список
Период
Сортировка
От Joseph Tate
Тема Re: pg_restore problems and suggested resolution
Дата
Msg-id 402D4BF3.8050102@dragonstrider.com
обсуждение исходный текст
Ответ на pg_restore problems and suggested resolution  (Joseph Tate <jtate@dragonstrider.com>)
Ответы Re: pg_restore problems and suggested resolution  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Joseph Tate wrote:

> I propose pg_restore --disable-triggers be modified so that triggers are 
> disabled on the tables that OID fixing is going to UPDATE.  I'll 
> hopefully have a patch against REL7_4_STABLE for this soon, but I 
> haven't started it yet.  Does anyone have any suggestions?  Has someone 
> already done this in HEAD so that it can be backported to 7.4?
> 

So now that I've looked at the code, I think that this solution is a 
little too simplistic unfortunately.  Now I'm leaning towards 
--diable-rules.  Am I correct in thinking that if I change 
pg_class.relhasrules to 'f' that the rules will not be processed?  Or is 
there more involved here?

Joseph


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Transaction aborts on syntax error.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_restore problems and suggested resolution