Skip site navigation (1) Skip section navigation (2)

Adding perl

From: "Keith Worthington" <keithw(at)narrowpathinc(dot)com>
To: "PostgreSQL Novice" <pgsql-novice(at)postgresql(dot)org>
Subject: Adding perl
Date: 2005-04-21 15:48:57
Message-ID: 20050421154052.M48966@narrowpathinc.com (view raw or flat)
Thread:
Lists: pgsql-novice
Hi All,

I have just finished writing a perl script to process some text data and now I
want to turn it into a function.

createlang fails as follows
# createlang -U postgres plperl MYDB
createlang: language installation failed: ERROR:  could not access file
"$libdir/plperl": No such file or directory

Okay so I find the following
   Note:  Users of source packages must specially enable the
   build of PL/Perl during the installation process. (Refer
   to Section 14.1 for more information.) Users of binary
   packages might find PL/Perl in a separate subpackage.
on the Perl documentation page
http://www.postgresql.org/docs/8.0/interactive/plperl.html

So, does this mean that I need to download v8.0.2 source, recompile and
reinstall?  If so can I do this over the current v8.0.0?

If something breaks can I go back to v8.0.0?

Kind Regards,
Keith

Responses

pgsql-novice by date

Next:From: Sean DavisDate: 2005-04-21 16:06:00
Subject: Re: Adding perl
Previous:From: Frank BaxDate: 2005-04-21 12:56:25
Subject: Re: Disk full problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group