]> granicus.if.org Git - postgresql/commit
Add comments about the need to avoid uninitialized bits in datatype values.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 27 Apr 2011 18:06:05 +0000 (14:06 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 27 Apr 2011 18:06:29 +0000 (14:06 -0400)
commitdb3cf2529304f96eabedd21f292bc661d5772aee
treed52ca94d1bf45de3856898d6eaf78a75112f87bd
parent433853e9269ee81627400c7edb1e4f9a001d3816
Add comments about the need to avoid uninitialized bits in datatype values.

There was already one recommendation in the documentation about writing
C functions to ensure padding bytes are zeroes, but make it stronger.

Also fix an example that was still using direct assignment to a varlena
length word, which no longer works since the varvarlena changes.
doc/src/sgml/xfunc.sgml