pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Johann Zuschlag <zuschlag2@online.de>
To: Dave Page <dpage@vale-housing.co.uk>
Cc: pgsql-odbc@postgresql.org
Subject: We have to support ANSI encoding...
Date: Tue, 20 Sep 2005 16:07:46 +0200
Message-ID: <433017B2.9060101@online.de> (raw)

Hi Dave,

I hope, that we can keep two drivers for the future. In fact we have to. 
Just note the excerpt of the PostgreSQL docs below:


20.1.2. Behavior

Locale support influences the following features:

    * Sort order in queries using ORDER BY 
    * The ability to use indexes with LIKE clauses 
    * The |to_char| family of functions

The drawback of using locales other than C or POSIX in PostgreSQL is its 
performance impact. It slows character handling and prevents ordinary 
indexes from being used by LIKE. For this reason use locales only if you 
actually need them.



So because of performance reasons we don't want to use UTF-8 always. The 
conclusion is that we must support both drivers.

Regards
Johann





view thread (2+ messages)  latest in thread

Message-ID: <433017B2.9060101@online.de>
Permalink:  ../433017B2.9060101@online.de/
Also on:    postgresql.org/message-id/433017B2.9060101@online.de

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: zuschlag2@online.de, dpage@vale-housing.co.uk
  Subject: Re: We have to support ANSI encoding...
  In-Reply-To: <433017B2.9060101@online.de>
  References: <433017B2.9060101@online.de>

* 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