Re: Disabling function validation

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Disabling function validation
Дата
Msg-id 200310071658.h97GwOV20585@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Disabling function validation  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Disabling function validation  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Re: Disabling function validation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Peter Eisentraut wrote:
> Bruce Momjian writes:
> 
> > I think we should change the "check_function_bodies" to something more
> > general.  I like "restore_validation_mode" because it could also be used
> > to disable foreign key checks which we are discussing.  An even more
> > general idea would be to have something like "restore_mode", and perhaps
> > could handle cases like allowing a larger sort_mem or other
> > optimizations during restore.
> 
> I also like this approach (independent of whether foreign keys should be
> one of its applications).  It gives us more freedom to open and close
> these types of holes when new issues arise or pg_dump improves.

Should we add a variable that is set from the dump filew that identifies
the version of PostgreSQL that generated the dump?
SET dumped_version = 7.3

or something like that.  We could test it in the PostgreSQL backend code
in case we have to handle something differently.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Disabling function validation
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: BigInt woes