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>
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 13:46:25 +0800
Message-ID: <255501c362f0$909590e0$2800a8c0@mars> (raw)
References: <20030814221643.R6090-100000@megazone.bigpanda.com>

> > I can also attest to the horrendously long time it takes to restore the
ADD
> > FOREIGN KEY section...
>
> That really needs to be rewritten to do a single check over the table
> rather than running the constraint for every row.  I keep meaning to get
> around to it and never actually do. :(  I'm not sure that in practice
> you'll get a better plan at restore time depending on what the default
> statistics give you.

Surely in the default case it would reduce to using the new hashed IN()
feature, so it'd be a lot faster?

Chris




view thread (30+ messages)  latest in thread

Message-ID: <255501c362f0$909590e0$2800a8c0@mars>
Permalink:  ../255501c362f0$909590e0$2800a8c0@mars/
Also on:    postgresql.org/message-id/255501c362f0$909590e0$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, pgman@candle.pha.pa.us, Blue.Dragon@blueyonder.co.uk
  Subject: Re: [GENERAL] 7.4Beta
  In-Reply-To: <255501c362f0$909590e0$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