Add comments about the need to avoid uninitialized bits in datatype values.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 27 Apr 2011 18:05:58 +0000 (14:05 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 27 Apr 2011 18:06:22 +0000 (14:06 -0400)
commit4f6c75b541385eb2d48f7ef62c1c323ec2642134
treec6eab7a4eb790a513f6871e956367e542064308e
parent18c0b4eccdc86ffb7eccc2c6facfe382537ab877
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