pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Glaesemann <grzm@seespotcode.net>
To: Daniel van Ham Colchete <daniel.colchete@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: New to PostgreSQL, performance considerations
Date: Mon, 11 Dec 2006 11:11:29 +0900
Message-ID: <12DF97AF-3B52-4955-9A35-46D2B0255F32@seespotcode.net> (raw)
In-Reply-To: <8a0c7af10612101747j33b09ddft21d3341cc95dfaf5@mail.gmail.com>
References: <8a0c7af10612101141n2c7727c3r2f92345753960808@mail.gmail.com>
	<430d92a20612101336r3de8862coe618277fccb4006a@mail.gmail.com>
	<8a0c7af10612101702i49b5a533v4a2300d90d9dae6b@mail.gmail.com>
	<430d92a20612101718o239dbf9dg990e784c17bf175a@mail.gmail.com>
	<8a0c7af10612101747j33b09ddft21d3341cc95dfaf5@mail.gmail.com>


On Dec 11, 2006, at 10:47 , Daniel van Ham Colchete wrote:

> I never understood what's the matter between the ASCII/ISO-8859-1/UTF8
> charsets to a database.

If what you mean by ASCII is SQL_ASCII, then there is at least one  
significant difference between UTF8 (the PostgreSQL encoding) and  
SQL_ASCII. AIUI, SQL_ASCII does no checking at all with respect to  
what bytes are going in, while UTF8 does make sure to the best of its  
ability that the bytes represent valid UTF-8 characters, throwing an  
error if an invalid byte sequence is detected.

There's more information regarding this here:
http://www.postgresql.org/docs/8.2/interactive/ 
multibyte.html#MULTIBYTE-CHARSET-SUPPORTED

Michael Glaesemann
grzm seespotcode net





view thread (124+ messages)  latest in thread

Message-ID: <12DF97AF-3B52-4955-9A35-46D2B0255F32@seespotcode.net>
Permalink:  ../12DF97AF-3B52-4955-9A35-46D2B0255F32@seespotcode.net/
Also on:    postgresql.org/message-id/12DF97AF-3B52-4955-9A35-46D2B0255F32@seespotcode.net

 · 

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-performance@postgresql.org
  Cc: grzm@seespotcode.net, daniel.colchete@gmail.com
  Subject: Re: New to PostgreSQL, performance considerations
  In-Reply-To: <12DF97AF-3B52-4955-9A35-46D2B0255F32@seespotcode.net>

* 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