pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shridhar Daithankar <shridhar_daithankar@persistent.co.in>
To: pgsql-hackers@postgresql.org, pgsql-general <pgsql-general@postgresql.org>
To: pgsql-performance@postgresql.org
Subject: Re: [pgsql-performance] Large databases, performance
Date: Tue, 08 Oct 2002 11:14:11 +0530
Message-ID: <3DA2BE03.3674.13CF7DD1@localhost> (raw)
In-Reply-To: <23897.1034004117@sss.pgh.pa.us>
References: <3DA1E50F.4394.107FF85D@localhost>

On 7 Oct 2002 at 11:21, Tom Lane wrote:

> "Shridhar Daithankar" <shridhar_daithankar@persistent.co.in> writes:
> > I say if it's a char field, there should be no indicator of length as
> > it's not required. Just store those many characters straight ahead..
> 
> Your assumption fails when considering UNICODE or other multibyte
> character encodings.

Correct but is it possible to have real char string when database is not 
unicode or when locale defines size of char, to be exact?

In my case varchar does not make sense as all strings are guaranteed to be of 
defined length. While the argument you have put is correct, it's causing a disk 
space leak, to say so.

Bye
 Shridhar

--
Boucher's Observation:	He who blows his own horn always plays the music	several 
octaves higher than originally written.




view thread (48+ messages)  latest in thread

Message-ID: <3DA2BE03.3674.13CF7DD1@localhost>
Permalink:  ../3DA2BE03.3674.13CF7DD1@localhost/
Also on:    postgresql.org/message-id/3DA2BE03.3674.13CF7DD1@localhost

 · 

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: shridhar_daithankar@persistent.co.in, pgsql-general@postgresql.org, pgsql-performance@postgresql.org
  Subject: Re: [pgsql-performance] Large databases, performance
  In-Reply-To: <3DA2BE03.3674.13CF7DD1@localhost>

* 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