Thread: Doc and comment patch for packed varlena

Doc and comment patch for packed varlena

From
Gregory Stark
Date:
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

Attachment

Re: Doc and comment patch for packed varlena

From
Bruce Momjian
Date:
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. +