Re: Garbage pad bytes within datums are bad news - Mailing list pgsql-hackers

From Teodor Sigaev
Subject Re: Garbage pad bytes within datums are bad news
Date
Msg-id 47F68E35.4000100@sigaev.ru
Whole thread Raw
In response to Garbage pad bytes within datums are bad news  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Garbage pad bytes within datums are bad news  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> The alternative seems to be to forbid uninitialized pad bytes within
> Datums.  That's not very pleasant to contemplate either, since it'll
> forever be vulnerable to sins of omission.

Hmm, we can add to palloc random filling of allocated memory with 
--enable-cassert.  It'll allow to catch such bugs in most cases.

-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
  WWW: http://www.sigaev.ru/
 


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Patch queue -> wiki
Next
From: "Tom Dunstan"
Date:
Subject: Re: modules