Re: beta6 pg_restore core dumps

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Philip Warner <pjw@rhyme.com.au>
Cc: Tatsuo Ishii <t-ishii@sra.co.jp>, Martin Renters <martin@datafax.com>, pgsql-hackers@postgresql.org
Date: 2001-03-18T02:18:38Z
Lists: pgsql-hackers
Philip Warner <pjw@rhyme.com.au> writes:
>> Oh, isn't this the code that pushes large-object bodies around?  I
>> should think the problem would've been noticed much sooner if not...

> It does both, which is why I was also surprised.

Hmm ... digging through the code, it does look like one of the possible
destinations is ExecuteSqlCommandBuf, which is a bit schizo about
whether it's dealing with a null-terminated string or not, but is likely
to get ill if handed one that isn't.

Okay, I'll commit what I have then.

			regards, tom lane