Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

createlang problem

Status
Not open for further replies.

jlingg1

IS-IT--Management
Jan 16, 2003
1
US
Hi,
I am trying to get plpgsql running on a redhat 7.3 box. I have run the command 'createlang plpgsql dbname' on the server. I know it is there because if I try the command again it gives me this error:

ERROR: functino plpgsql_call_handler already exists with same argument types
createlang: language installation failed.

Yet when I try to create a function with plpgsql I get the following error:
Number: -2147467259
Description: ERROR: Unrecognized language specified in a CREATE FUNCTION: 'plpgsql'.

Any help will be appreciated.

thanks
Jason


 
Have you tried using "createlang --list [your_dbname]"? This will show you which languages PostgreSQL thinks are installed. If it shows plpgsql as being in there, then you might try running "droplang plpgsql [your_dbname]". After this, then you can try running "createlang" again. -------------------------------------------

My PostgreSQL FAQ --
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top