Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> 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.
>
> I think I'd prefer to keep foreign key check disabling separate. Or at
> least make it separately selectable. Maybe validation_mode could have
> multiple levels ("off", "safe", "risky")?
Makes sense. Function bodies will be validated anyway when they are
run, while foreign keys would not. Shame we can't disable fsync per
backend.
-- 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