Doc and comment patch for packed varlena
Doc and comment patch for packed varlena
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. -- Gregory Stark EnterpriseDB http://www.enterprisedb.com
Re: Doc and comment patch for packed varlena
От:
Bruce Momjian <bruce@momjian.us>
Дата:
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 http://momjian.us EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. +