Skip site navigation (1) Skip section navigation (2)

Re: Disabling function validation

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Disabling function validation
Date: 2003-10-06 23:17:22
Message-ID: 200310062317.h96NHMC23076@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-hackers by date

Next:From: Peter EisentrautDate: 2003-10-06 23:18:16
Subject: Re: new initdb.c available
Previous:From: Tom LaneDate: 2003-10-06 23:13:30
Subject: Re: Disabling function validation

pgsql-committers by date

Next:From: Michael MeskesDate: 2003-10-07 05:46:56
Subject: pgsql-server/src/interfaces/ecpg ChangeLog com ...
Previous:From: Tom LaneDate: 2003-10-06 23:13:30
Subject: Re: Disabling function validation

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group