Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [GENERAL]

From: Martijn van Oosterhout <kleptog(at)svana.org>
Date: Wed Oct 31 2007 - 03:21:08 EDT


On Wed, Oct 31, 2007 at 11:07:36AM +0800, carter ck wrote:
> Hi all,
>
> I was trying to create function in postgres, but it returns error mentioning the language is NOT defined.

<snip>
> ERROR: language "plpgsql" does not exist
> HINT: Use CREATE LANGUAGE to load the language into the database.
>
> I was wonderring why it is not included by default? Or have I missed out something in the configuration!

It's included by default, just not enabled by default. Try "create language plpgsql" as administrator.

> Also, how to do a better text search? I have come across the bad performance of LIKE statement.

See tsearch2.

Have a nice day,

-- 
Martijn van Oosterhout   <
kleptog(at)svana.org>   
http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.
Received on Wed Oct 31 03:30:28 2007

This archive was generated by hypermail 2.1.8 : Mon Jun 16 2008 - 19:07:58 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library