Re: Case insensitive collation

From: Marcel van Pinxteren <marcel(dot)van(dot)pinxteren(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Case insensitive collation
Date: 2013-01-16 19:40:45
Message-ID: CAE3e+fPOMjSm5MVNvg8HiA7b1rLq0rnFbRY8jF0OW+P0NwYjRw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

From the Microsoft site I learned
http://msdn.microsoft.com/en-us/library/ms188046(v=sql.105).aspx
that they combine collation and "ComparisonStyle" to a collation name.

I thought that case insensitivity had to be built into the collation, but
apparently MS built case sensitivity in the database engine.
This would mean that Postgresql would need to build case (in)sensitivity
into her engine as well.

Judging from the small amount of discussion on this subject, I am afraid
this is not going to happen anytime soon. Alas, we will stay with SQL
Server then (or maybe MySQL, but I will have to investigate).

Met vriendelijke groet,

Marcel van Pinxteren
--------------------------
Volg onze bouw op http://nieuwekampen.blogspot.com

On Wed, Jan 16, 2013 at 8:14 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Marcel van Pinxteren <marcel(dot)van(dot)pinxteren(at)gmail(dot)com> writes:
> > Therefore the question: are there plans to create a set of case
> > insensitive, and maybe also accent insensitive collations in the near
> > future?
>
> Not from the Postgres project -- we just use the collations supplied by
> the operating system.
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Robert James 2013-01-16 20:23:30 Best method to compare subdomains
Previous Message Tom Lane 2013-01-16 19:14:50 Re: Case insensitive collation