Re: Is there any method to keep table in memory at startup - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Is there any method to keep table in memory at startup
Date
Msg-id 26232.1083847247@sss.pgh.pa.us
Whole thread Raw
In response to Re: Is there any method to keep table in memory at startup  (Vinay Jain <vinayj@sarathi.ncst.ernet.in>)
Responses Re: Is there any method to keep table in memory at startup  (Vinay Jain <vinayj@sarathi.ncst.ernet.in>)
List pgsql-hackers
Vinay Jain <vinayj@sarathi.ncst.ernet.in> writes:
> Which takes a lot of time the reason is that in every indchar_lt 
> function call SPI connection is made and destroyed...

I cannot imagine how you'd think that that would be practical from a
performance standpoint.

> Here is the problem which i found in postgresql...
> after setting collating sequence in proper way(i.e. C) the order was 
> on basis of unicode values...but in Hindi Language some of combined 
> unicode values makes a single character
> similarly length is not appropriate for these reasons & hence 
> substring operations

Why don't you just use a Hindi locale?  The infrastructure should all be
there already for you.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Thomas Hallgren"
Date:
Subject: Re: SPI_fnumber is case sensitive
Next
From: Tom Lane
Date:
Subject: Fixing the Turkish problem