Re: Postgres case insensitive searches - Mailing list pgsql-general

From Neil Tiffin
Subject Re: Postgres case insensitive searches
Date
Msg-id ADB34248-D74F-4992-B213-297A760450B6@neiltiffin.com
Whole thread Raw
In response to Re: Postgres case insensitive searches  (bhanu udaya <udayabhanu1984@hotmail.com>)
Responses Re: Postgres case insensitive searches  (bhanu udaya <udayabhanu1984@hotmail.com>)
List pgsql-general

On Jun 29, 2013, at 11:24 AM, bhanu udaya <udayabhanu1984@hotmail.com> wrote:

Upper and Lower functions are not right choice when the table is > 2.5 million and where we also have heavy insert transactions.

PostgreSQL and SQL Server are completely different.  Rules that apply to SQL Server do not necessarily apply to PostgreSQL.

You problem is not the use of upper() or lower() it is the assumption what works in SQL Server is the best way to use PostgreSQL.  You'll get farther if you benchmark several of the suggestions, then if the performance is not good enough, ask how to improve the performance.  This will take a little work on your part, but that is how you learn.

Neil

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Postgres case insensitive searches
Next
From: Michael Shapiro
Date:
Subject: Re: [pgadmin-support] Postgres case insensitive searches