Re: [GENERAL] 7.4Beta - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: [GENERAL] 7.4Beta
Date
Msg-id 255501c362f0$909590e0$2800a8c0@mars
Whole thread Raw
In response to Re: [GENERAL] 7.4Beta  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
List pgsql-hackers
> > 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



pgsql-hackers by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: [GENERAL] 7.4Beta
Next
From: "Christopher Kings-Lynne"
Date:
Subject: Re: [GENERAL] 7.4Beta