Re: pg_restore: internal data corruption?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Brian Hackett" <bhackett(at)stanford(dot)edu>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: pg_restore: internal data corruption?
Date: 2005-05-17 17:16:26
Message-ID: 29805.1116350186@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Brian Hackett" <bhackett(at)stanford(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Kris Jurka 2005-05-17 17:28:34 Re: BUG #1661: JDBC DatabaseMetaData.getExportedKeys() returns
Previous Message Brian Hackett 2005-05-17 16:27:02 pg_restore: internal data corruption?