Re: beta6 pg_restore core dumps - Mailing list pgsql-hackers

From Tom Lane
Subject Re: beta6 pg_restore core dumps
Date
Msg-id 23728.984881918@sss.pgh.pa.us
Whole thread Raw
In response to beta6 pg_restore core dumps  (Tatsuo Ishii <t-ishii@sra.co.jp>)
List 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


pgsql-hackers by date:

Previous
From: Jan Wieck
Date:
Subject: Re: Performance monitor signal handler
Next
From: Tom Lane
Date:
Subject: Re: beta6 pg_restore core dumps