X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 9830F329D76 for ; Sun, 3 Oct 2004 16:52:04 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 92129-06 for ; Sun, 3 Oct 2004 15:51:55 +0000 (GMT) Received: from a2s1.a2webhosting.com (host-180.a2webhosting.com [69.39.89.180]) by svr1.postgresql.org (Postfix) with ESMTP id C0BD9329C67 for ; Sun, 3 Oct 2004 16:51:55 +0100 (BST) Received: from user-1120nrh.dsl.mindspring.com ([66.32.95.113] helo=[192.168.1.10]) by a2s1.a2webhosting.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.42) id 1CE8eR-0003Mr-B2 for pgsql-sql@postgresql.org; Sun, 03 Oct 2004 11:51:55 -0400 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <5d14ecf904092720277aeb6585@mail.gmail.com> References: <5d14ecf904092720277aeb6585@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: John DeSoi Subject: Re: Postgres Doubt Date: Sun, 3 Oct 2004 11:50:38 -0400 To: PostgreSQL X-Mailer: Apple Mail (2.619) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2s1.a2webhosting.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - pgedit.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.1 tagged_above=0.0 required=5.0 tests=MAILTO_TO_SPAM_ADDR X-Spam-Level: * X-Archive-Number: 200410/14 X-Sequence-Number: 19117 On Sep 27, 2004, at 11:27 PM, sreejith s wrote: > Hello, > I am new to PostgreSQL. I have a doubt. Now i am doing one > project in .NET technology with postgres(linux) as database. I am > using pgADMIN and pgManager as tools for database releted activities. > Now i am able to create functions with 'sql' language. When i select > 'pgsql' as language for creating query, an error poping up. How to > create Query using 'pgsql' language. if any new tools need to be > installed. Plz rectify. Mail me back at sreejith77@rediffmail.com > > You need to use the createlang utility to add pgsql to your database. see http://www.postgresql.org/docs/current/interactive/app-createlang.html http://www.postgresql.org/docs/current/interactive/sql- createlanguage.html You generally want to do this for template1 so it will be available in any new database you create. Best, John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL