Re: [GENERAL] Case sensitivity

From: Dev Kumkar <devdas(dot)kumkar(at)gmail(dot)com>
To: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, John Pierce <pierce(at)hogranch(dot)com>
Subject: Re: [GENERAL] Case sensitivity
Date: 2013-12-13 07:08:42
Message-ID: CALSLE1MZ2n3BpYdGO0d=HsqDBEwdGNxc4KQJLRBJ0wK-yGm85Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general pgsql-hackers

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

> + hackers
>
>
>
> On Thu, Dec 12, 2013 at 12:34 PM, Dev Kumkar <devdas(dot)kumkar(at)gmail(dot)com>wrote:
>
>> 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?
>>
> I am ok with CITEXT but for changing the database design for the
primary/foreign key columns to be CITEXT need some suggestions/comments
regarding performance for inserts/reads.

Awaiting...

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jeni Fifrick 2013-12-13 20:42:41 AUTOVACUUM after purging a lot of records
Previous Message Vick Khera 2013-12-12 16:29:07 Re: [GENERAL] Scheduled Events

Browse pgsql-general by date

  From Date Subject
Next Message Jayadevan M 2013-12-13 11:04:57 Re: design for multiple time series
Previous Message David Johnston 2013-12-13 04:38:56 Re: invisible dependencies on a table?

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2013-12-13 07:58:24 Re: logical changeset generation v6.8
Previous Message Álvaro Hernández Tortosa 2013-12-13 06:32:59 Re: RFC: programmable file format for postgresql.conf