Char datatype - Mailing list pgsql-admin

From Andre Restivo
Subject Char datatype
Date
Msg-id 39914519.84650A1A@criticalsoftware.com
Whole thread Raw
Responses Re: Char datatype  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-admin
Hi,

Does anyone know why does pg use 4+n bytes to store a char(n) field? The
four initial bytes seem to have only null chars so why are they used?

Thx

Andre Restivo

pgsql-admin by date:

Previous
From: "Vladimir V. Zolotych"
Date:
Subject: PsqlODBC
Next
From: Neil Toronto
Date:
Subject: pg_log