Skip site navigation (1) Skip section navigation (2)

Char datatype

From: Andre Restivo <arestivo(at)criticalsoftware(dot)com>
To: pgsql-admin(at)postgreSQL(dot)org
Subject: Char datatype
Date: 2000-08-09 11:48:41
Message-ID: 39914519.84650A1A@criticalsoftware.com (view raw or flat)
Thread:
Lists: 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

Responses

pgsql-admin by date

Next:From: Neil TorontoDate: 2000-08-09 15:49:21
Subject: pg_log
Previous:From: Vladimir V. ZolotychDate: 2000-08-06 10:20:12
Subject: PsqlODBC

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group