From: | ow <oneway_111(at)yahoo(dot)com> |
---|---|
To: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de>, Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pg_restore and create FK without verification check |
Date: | 2003-11-27 00:00:05 |
Message-ID: | 20031127000005.60161.qmail@web21408.mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
--- Andreas Pflug <pgadmin(at)pse-consulting(dot)de> wrote:
> Stephan Szabo wrote:
>
> >
> >
> >IIRC, he was. I think the thing causing the difference between his times
> >and the ones we saw typically when doing the tests was that he didn't have
> >an index on the fktable's referencing column.
> >
> >
>
> A common mistake, can't count how often I created this one...
Wrong. It's a mistake to think that you always HAVE to have an index on FK
column. See the links below for more details:
http://archives.postgresql.org/pgsql-admin/2003-11/msg00317.php
http://archives.postgresql.org/pgsql-admin/2003-11/msg00319.php
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-11-27 00:00:40 | Re: Limiting factors of pg_largeobject |
Previous Message | Tom Lane | 2003-11-26 23:55:35 | Re: pg_restore and create FK without verification check |