Re: Case sensitivity

From: Dev Kumkar <devdas(dot)kumkar(at)gmail(dot)com>
To: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Case sensitivity
Date: 2013-12-12 07:04:39
Message-ID: CALSLE1P5wpo8KG1yx8DNgVXd-s1RJ5UOSb-gTXuR+7uTAYSQsA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general pgsql-hackers

On Wed, Dec 11, 2013 at 9:47 PM, Dev Kumkar <devdas(dot)kumkar(at)gmail(dot)com> wrote:

> Actually for searches lower will work.
> But the other important aspect is 'inserts' which would result 2 rows if
> the values are 'A' and 'a'. Intent here to have it case insensitive.
>
> If CITEXT it will update the same row and works.
> CITEXT is an alternative but was wondering if there is any other alternate
> solution/setting while creating database.
>
> Also does CITEXT fetch via JDBC works the same way as fetch/set string
> values? Any quick comments here.
>
> http://techie-experience.blogspot.in/2013/04/hibernate-supporting-case-insensitive.html
>
> Regards...
>

Also if the key columns are CITEXT is there any performance issues on
indexes?

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Dev Kumkar 2013-12-12 07:17:11 Re: Case sensitivity
Previous Message Tim Bruce - Postgres 2013-12-11 19:00:41 PG Foundry Down

Browse pgsql-general by date

  From Date Subject
Next Message Dev Kumkar 2013-12-12 07:17:11 Re: Case sensitivity
Previous Message Tom Lane 2013-12-12 04:12:33 Re: Is it possible that session lock is not released

Browse pgsql-hackers by date

  From Date Subject
Next Message Dev Kumkar 2013-12-12 07:17:11 Re: Case sensitivity
Previous Message Fabien COELHO 2013-12-12 07:02:41 Re: pgbench with large scale factor