Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    AKA chadi
    Join Date
    Dec 2004
    Posts
    62

    Default postgresql question

    I'm not too savvy about postgresql but I got this as a customer request...

    Could you please add PL/PGSQL language support for my Postgres database called "username_dxall"? These 2 commands should do the trick as long as your shared object is in the same directory as mine:

    CREATE FUNCTION plpgsql_call_handler () RETURNS language_handler
    AS '/usr/lib/pgsql/plpgsql.so', 'plpgsql_call_handler'
    LANGUAGE c;

    CREATE TRUSTED PROCEDURAL LANGUAGE plpgsql HANDLER plpgsql_call_handler;


    What is this doing? I already have Apache compiled with PostgreSQL anyway. Is this something different?

    Thanks

  2. #2
    Member
    Join Date
    Apr 2005
    Posts
    7

    Default

    Give this a shot. I had to do this recently for a customer.

    http://www.faqs.org/docs/ppbook/c19610.htm

Similar Threads & Tags
Similar threads

  1. PostgreSQL
    By txitcs in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-29-2008, 09:56 AM
  2. PostgreSQL/phpPgAdmin Permission Question
    By mixx941 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-22-2007, 02:12 PM
  3. PostgreSQL DB question
    By rapidfire911 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-26-2006, 04:09 PM
  4. PostgreSQL
    By jozeph in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-13-2006, 06:04 AM
  5. Replies: 1
    Last Post: 06-15-2005, 03:44 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube