Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

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: Tue, 17 May 2005 13:16:26 -0400
  • Message-id: <29805.1116350186@sss.pgh.pa.us> <text/plain>

"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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group