On Jun 29, 2013, at 15:02, bhanu udaya <udayabhanu1984@xxxxxxxxxxx> wrote: > I agree that it is just search condition. But, in a 2.5 million record table search, upper function is not that fast. Suit yourself, the solution is there. Alban Hertroys -- If you can't see the forest for the trees, cut the trees and you'll find there is no forest. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general