Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8434747
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:44:31+00:00 2026-06-10T06:44:31+00:00

I using PostgreSQL and I want to create a function in pl/perl, but the

  • 0

I using PostgreSQL and I want to create a function in pl/perl, but the PostgreSQL doesn’t contain pl/perl.

When I type createlang plperlu databasename it shows:

createlang: language installation failed: ERROR : could not open
extension control file
“/usr/local/pgsql/share/extension/plperlu.control”: No such file or
directory

How can I install plperlu?

The PostgreSQL version is 9.1 in CentOS 5.8

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T06:44:32+00:00Added an answer on June 10, 2026 at 6:44 am

    Before you do anything else, back up your database. At minimum use pg_dump to take a SQL dump and put it on another computer. Then proceed, but understand that you’re likely to cause downtime or even data loss if you muck this up.

    (For anyone else reading this, it only applies to PostgreSQL installed from source code. You are probably using a packaged version instead, in which case you should install the package for postgresql-contrib or postgresql-plperl for your distro. Names will vary, so do a search in your package management system.)


    It seems highly likely that your co-worker installed PostgreSQL from source code and didn’t enable PL/Perl. If you want PL/Perl you will need to re-compile.

    Install the Perl development package, which should be called perl-devel, eg:

    yum install perl-devel
    

    When you re-compile PostgreSQL use the --with-perl argument to ./configure. You should be able to find the PostgreSQL source code tree that your co-worker used somewhere on the system – try searching for config.log and see if there’s a PostgreSQL source code tree in the same place.

    If you can’t find it you’ll have to either:

    • Download fresh PostgreSQL sources and compile them as per the PostgreSQL documentation; or
    • Shut down your current server and install the yum.postgresql.org RPMs to replace it.

    Honestly, if you don’t know Linux this isn’t a good way to start. Find somebody to help you who’s worked with Linux systems before and is familiar with basic tasks like installing packages. Get them to help you to replace the source-installed PostgreSQL with a PostgreSQL install from the yum.postgresql.org packages, and preferably update your rather outdated operating system install to a current one.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using PostgreSQL 8.4 and I want to create a function that returns
I'm using PostgreSQL 9.1.3 and the following functions: CREATE OR REPLACE FUNCTION cad(INOUT args
Is there any way to have a function in PostgreSQL return an arbitrary type?
I would like to create a web application using PostgreSQL as a database. I
I'm using Npsql with PostgreSQL. I want to see uncommitted changes of one transaction
I'm using Windows XP and I've installed PostgreSQL 8.3.5-2. I can create databases via
Using clojure and clojure-sql with postgresql. I am trying to make a bootstrap function,
I want to create a Postgres database using a batch file. Now the normal
I'm using SQLAlchemy 0.6.3 with PostgreSQL 8.4 on Debian squeeze. I want a table
I want to compile the data for reporting purpose, using php communicating with postgres,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.