X-Original-To: pgsql-sql@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 2501C4758F1 for ; Tue, 15 Apr 2003 13:54:32 -0400 (EDT) Received: from europa.janwieck.net (h00045a2e4e7c.ne.client2.attbi.com [24.131.181.55]) by postgresql.org (Postfix) with ESMTP id 58A6C474E44 for ; Tue, 15 Apr 2003 13:54:31 -0400 (EDT) Received: from Yahoo.com (linksys.janwieck.net [192.168.192.1]) (authenticated) by europa.janwieck.net (8.11.6/8.11.6) with ESMTP id h3FHrpa00315; Tue, 15 Apr 2003 13:53:52 -0400 Message-ID: <3E9C46F0.DDB1488C@Yahoo.com> Date: Tue, 15 Apr 2003 13:52:48 -0400 From: Jan Wieck Organization: Home X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en,ru MIME-Version: 1.0 To: mallah@trade-india.com Cc: bishop@nm.ru, pgsql-sql@postgresql.org Subject: Re: plpgsql References: <002601c30375$0ad87240$7739e2c2@zodiacfhynm2is> <1305.219.65.253.230.1050428278.squirrel@mail.trade-india.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-29.9 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,QUOTED_EMAIL_TEXT,QUOTE_TWICE_1, REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/236 X-Sequence-Number: 12937 mallah@trade-india.com wrote: > > Have you tried createlang command? I doubt that would work. Looks to me like a version mismatch between the backend and the loadable object for the PL. Who installed that system and was there lately some upgrade attempt? Jan > > $ createlang -Uusername plpgsql dbname > > > Hello everybody! > > I have a problem with using language "plpgsql". > > > > When i try to create plpgsql_call_handler() i receive error message: "Load of file > > /usr/local/psql/lib/plpgsql.so failed: > > /usr/local/psql/lib/plpgsql.so: undefined symbol: getTypeInputInfo" > > > > Listing of function is: > > CREATE FUNCTION plpgsql_call_handler() RETURNS OPAQUE > > AS '/usr/local/psql/lib/plpgsql.so' > > LANGUAGE 'C'; > > > > I'm using PostgreSQL 7.2 installed from rpm's. File plpgsql.so exists and is placed in correct > > folder. > > > > What this error means and what should i do? > > > > Thanks for any help. > > > > P.S. OS is AspLinux... > > ----------------------------------------- > Get your free web based email at trade-india.com. > "India's Leading B2B eMarketplace.!" > http://www.trade-india.com/ > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #================================================== JanWieck@Yahoo.com #