pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
To: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: Gavin Sherry <swm@linuxworld.com.au>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Peter Childs <Blue.Dragon@blueyonder.co.uk>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: [GENERAL] 7.4Beta
Date: Fri, 15 Aug 2003 14:43:11 +0800
Message-ID: <25bd01c362f8$80842060$2800a8c0@mars> (raw)
References: <20030814231203.P6635-100000@megazone.bigpanda.com>

> We've talked about stuff like that in the past, but we seem to generally
> get stuck about how to specify it.  If we add it to the alter table add as
> an option then we're generating statements that are almost like a standard
> sql statement, but not quite, and some people didn't like that. A set
> option that only affected ALTER TABLE ADD CONSTRAINT wouldn't be too bad,
> but I'd be worried about making it apply to the normal checks as well
> (which I believe was suggested last time this came up).  In any case,
> making the full checks faster for when you really do care isn't a bad
> plan. :)

How about having an 'i'm restoring' SET var:

SET data_restore = true;

Which means (among other things) that FK's aren't checked?

Chris




view thread (30+ messages)  latest in thread

Message-ID: <25bd01c362f8$80842060$2800a8c0@mars>
Permalink:  ../25bd01c362f8$80842060$2800a8c0@mars/
Also on:    postgresql.org/message-id/25bd01c362f8$80842060$2800a8c0@mars

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: chriskl@familyhealth.com.au, sszabo@megazone.bigpanda.com, swm@linuxworld.com.au, pgman@candle.pha.pa.us, Blue.Dragon@blueyonder.co.uk
  Subject: Re: [GENERAL] 7.4Beta
  In-Reply-To: <25bd01c362f8$80842060$2800a8c0@mars>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox