On 11/13/14 5:07 AM, Simon Riggs wrote:
> On 13 November 2014 00:20, Jim Nasby <jim.na...@bluetreble.com> wrote:
> 
>> Isn't the real use-case here that if constraints were valid when you dumped
>> then we shouldn't have to *any* re-validate when we load? (Though, we'd have
>> to be careful of that with CHECK because that can call user code...)
> 
> Yes, that is the use case this patch would improve considerably.

But your patch doesn't really address that.  It just leaves the
constraints as invalid, and someone will have to revalidate them later
(how?).  What Jim was describing was a mode that creates the constraints
as valid but doesn't actually validate them.  I can see both sides of
that kind of feature.



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to