Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XEM7f-0003EF-IA for pgsql-admin@arkaria.postgresql.org; Mon, 04 Aug 2014 17:32:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XEM7f-0002Wp-0L for pgsql-admin@arkaria.postgresql.org; Mon, 04 Aug 2014 17:32:35 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XEM7d-0002Wi-Tl for pgsql-admin@postgresql.org; Mon, 04 Aug 2014 17:32:34 +0000 Received: from eu1sys200aog117.obsmtp.com ([207.126.144.143]) by makus.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XEM7Z-0005Ax-Qs for pgsql-admin@postgresql.org; Mon, 04 Aug 2014 17:32:31 +0000 Received: from mail-pd0-f181.google.com ([209.85.192.181]) (using TLSv1) by eu1sys200aob117.postini.com ([207.126.147.11]) with SMTP ID DSNKU9/DrAJtiJxKEeFVEOK0GaFvRyxKQc5x@postini.com; Mon, 04 Aug 2014 17:32:29 UTC Received: by mail-pd0-f181.google.com with SMTP id g10so9994691pdj.12 for ; Mon, 04 Aug 2014 10:32:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:content-type :content-transfer-encoding; bh=hf96I7mc0/iMaW/MaNVhdRQKEFWG+TTYiqnj+MaE5e4=; b=MGyixfRYcNM3YIa0irwf4ExR5LoPXDwyQVCiOZh9fg4o7HAmRyb+ilom0gBtYF3/2F cBItleJ16U+RZ0xw7V0HiI5Ib5JrcvW9FpG2znrtL+bkTCVABzlEnQyrpozdgpPSTucC Y3NHA/cYQhRj2/ObzrVk7ipv3WqSrBwg6amEoslz/65GOoxMR5ySPYbsY0qYIZfM/l2Y kkhWd9Fp0PsGXxerYLvHzYpEYmpcyJaczA+6BoZsvc1i/xlJKvM059EVEXKe36TMWvLc CnNsZVaMnG95Qd3qqtC9tLEKRwUN0iEzxDBrFUvIiUnIzRasMINeGn96ghENuVrR5ooo k9UQ== X-Gm-Message-State: ALoCoQkZmVwhUhon+PGI6j3SytYaoC3LlOI8Hvzpvy7cST2LW8XCHe7ZLhhqdPi5be+B53HmVSfw9hBqREL5JJsqU7QA0YMNlxobD5wdij6nQPzm/cNZAvUTVXA8X6W4gSogSbqRG2dqStxD08tURuDhKHWjlYkmjw== X-Received: by 10.70.43.206 with SMTP id y14mr25530285pdl.11.1407173547121; Mon, 04 Aug 2014 10:32:27 -0700 (PDT) X-Received: by 10.70.43.206 with SMTP id y14mr25530274pdl.11.1407173546976; Mon, 04 Aug 2014 10:32:26 -0700 (PDT) From: Khangelani Gama References: <1407159008.1433.YahooMailNeo@web122302.mail.ne1.yahoo.com> e2a3414f118ca2958923c69c0abecc45@mail.gmail.com In-Reply-To: e2a3414f118ca2958923c69c0abecc45@mail.gmail.com MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQLAo3AD0SI8NySoocndshO8R1ykkQFN/yMxmdRPuqCAAAvmMA== Date: Mon, 4 Aug 2014 19:32:25 +0200 Message-ID: Subject: Re: upgrading postgres 7.3.4 to 9.1.9 To: Kevin Grittner , pgsql-admin@postgresql.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -4.2 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org I'm not sure you'll get this if you use the 9.1 pg_dump. In any event, I think it could be safely ignored if you do so. > ERROR: could not access file "$libdir/plperl": No such file or > directory > ERROR: function public.plperl_call_handler() does not exist > ERROR: could not access file "$libdir/plperl": No such file or > directory > ERROR: language "plperlu" does not exist I would use CREATE EXTENSION for plperlu on the 9.1 database before attempting to restore. > Because of the above errors I tried the following > > /usr/local/pgsql9/bin/createlang -p59999 plperl template1 > > createlang: language installation failed: ERROR: could not open > extension control file > "/usr/local/pgsql9/share/extension/plperl.control": No such file or > directory Thanks Kevin, in psql I keep getting the following errors: I saw what it is explained in http://stackoverflow.com/questions/12136033/install-pl-perl-in-postgresql But I am not sure if this installation command "yum install perl-devel" will work without affecting other special setups. template1=3D# CREATE EXTENSION plperl; ERROR: could not open extension control file "/usr/local/pgsql9/share/extension/plperl.control": No such file or directory template1=3D# CREATE EXTENSION plperlu; ERROR: could not open extension control file "/usr/local/pgsql9/share/extension/plperlu.control": No such file or directory Can I try the following , I just don=E2=80=99t want to break other database= s already running on postgres9 Stop all instances from running ./configure --with-perl --prefix=3D$PATH Gmake Gmake install And then create an instance, and then pg_restore. CONFIDENTIALITY NOTICE The contents of and attachments to this e-mail are intended for the address= ee only, and may contain the confidential information of Argility (Proprietary) Limited and/or its subsidiaries. Any = review, use or dissemination thereof by anyone other than the intended addressee is prohibited.If you are not the intended= addressee please notify the writer immediately and destroy the e-mail. Argility (Proprietary) Limited and its subsidiaries= distance themselves from and accept no liability for unauthorised use of their e-mail facilities or e-mails sent other than = strictly for business purposes. =0D --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin