Re: Disabling function validation - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Disabling function validation
Date
Msg-id 200310062317.h96NHMC23076@candle.pha.pa.us
Whole thread Raw
In response to Re: Disabling function validation  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Disabling function validation
Next
From: Peter Eisentraut
Date:
Subject: Re: new initdb.c available