On 12/28/05, John McCawley <nospam@xxxxxxxxxxxx> wrote: > I am currently having a problem with a query never finishing (or at > least not in a reasonable amount of time.) I have had similar problems > to this in Postgres over the past several years, and I have always found > workarounds. This time I'd like to actually understand what is happening. > I bet it would go faster if you dropped the RI constraints and any other triggers first.