Doc and comment patch for packed varlena

Started by Bruce Momjianabout 19 years ago2 messagespatches
Jump to latest
#1Bruce Momjian
bruce@momjian.us

Caught someone using PG_DETOAST_PACKED and VARDATA_ANY on a structure that
required alignment so I guess some more prominent warnings are in order. I
also added a paragraph to the "User-Defined Types" chapter on using these
macros since it seems like they're a hit.

Attachments:

unaligned-warning.difftext/x-diffDownload+56-42
#2Bruce Momjian
bruce@momjian.us
In reply to: Bruce Momjian (#1)
Re: Doc and comment patch for packed varlena

Patch applied. Thanks.

---------------------------------------------------------------------------

Gregory Stark wrote:

Caught someone using PG_DETOAST_PACKED and VARDATA_ANY on a structure that
required alignment so I guess some more prominent warnings are in order. I
also added a paragraph to the "User-Defined Types" chapter on using these
macros since it seems like they're a hit.

[ Attachment, skipping... ]

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +