pgsql: Add comments about the need to avoid uninitialized bits in datat

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Add comments about the need to avoid uninitialized bits in datat
Дата
Msg-id E1QF98X-0006qM-TK@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/db3cf2529304f96eabedd21f292bc661d5772aee

Modified Files
--------------
doc/src/sgml/xfunc.sgml |   26 ++++++++++++++++++++------
1 files changed, 20 insertions(+), 6 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Add comments about the need to avoid uninitialized bits in datat
Следующее
От: Magnus Hagander
Дата:
Сообщение: pgsql: timeline is not needed in BaseBackup()