Re: pg_restore: internal data corruption? - Mailing list pgsql-bugs

From Tom Lane
Subject Re: pg_restore: internal data corruption?
Date
Msg-id 29805.1116350186@sss.pgh.pa.us
Whole thread Raw
In response to pg_restore: internal data corruption?  ("Brian Hackett" <bhackett@stanford.edu>)
List pgsql-bugs
"Brian Hackett" <bhackett@stanford.edu> writes:
> From manual examination of the code, it looks like pg_restore will corrupt
> an internal data structure on certain abnormal inputs.

Yeah, I think you are right.  Looks easy to fix though: we already are
building a flag array from the input, so just add a test to ignore any
already-seen ID.

Thanks for the report.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Brian Hackett"
Date:
Subject: pg_restore: internal data corruption?
Next
From: Kris Jurka
Date:
Subject: Re: BUG #1661: JDBC DatabaseMetaData.getExportedKeys() returns