pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Schaber <schabi@logix-tt.com>
To: Frank Bax <fbax@sympatico.ca>
Cc: pgsql-sql@postgresql.org
Subject: Re: Field length ??
Date: Thu, 20 Apr 2006 17:36:41 +0200
Message-ID: <4447AA89.9060405@logix-tt.com> (raw)
In-Reply-To: <5.2.1.1.0.20060420111921.00a5b920@pop6.sympatico.ca>
References: <20060420060838.46274.qmail@web33403.mail.mud.yahoo.com>
	<20060420060838.46274.qmail@web33403.mail.mud.yahoo.com>
	<5.2.1.1.0.20060420111921.00a5b920@pop6.sympatico.ca>

Hi, Frank,

Frank Bax wrote:

> Except that the original fields were neither variable length datatypes,
> not type text.
>         create table test(]
>         satu char(10),
>         dua char(5)
>         );

char is a textual type (in opposite to numeric types), and they are
handled as variable length datatypes internally (even if given a limit).

See http://www.postgresql.org/docs/8.1/static/datatype-character.html

HTH,
Markus
-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org



view thread (7+ messages)  latest in thread

Message-ID: <4447AA89.9060405@logix-tt.com>
Permalink:  ../4447AA89.9060405@logix-tt.com/
Also on:    postgresql.org/message-id/4447AA89.9060405@logix-tt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: schabi@logix-tt.com, fbax@sympatico.ca
  Subject: Re: Field length ??
  In-Reply-To: <4447AA89.9060405@logix-tt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox