Re: FK disappeared in 8.3.3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: FK disappeared in 8.3.3
Date: 2010-11-23 15:22:29
Message-ID: 8602.1290525749@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com> writes:
> At this time our problematic vessel was running 7.4.2. This vessel upgraded to 8.3.3
> some time in January 2009.

7.4!?

I can't shake the suspicion that some of your issues arose from trying
to load a later-version pg_dump output into an older-version server.
The discrepancies you're seeing are closely related to places where
we've changed pg_dump's output over the years, and not always in
backwards-compatible ways. The older server would throw syntax errors
on the newer commands, and if you didn't notice or follow up on that
during the reload, the outcome would be that the objects those commands
tried to create would just not be there. Which is what you've got.
I don't have enough information to show the exact chain of events, but I
think that something like this is a lot more probable than a random
hardware failure that just happened to produce these particular results.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Achilleas Mantzios 2010-11-23 15:54:21 Re: FK disappeared in 8.3.3
Previous Message Kevin Grittner 2010-11-23 14:48:10 Re: Postgres database : Out of balance problem from the same table