Unix Technical Forum

createlang problem with 8, what is correct?

This is a discussion on createlang problem with 8, what is correct? within the pgsql Admins forums, part of the PostgreSQL category; --> Howdy! createlang -U dbuser plpgsql dbname Results in: createlang: language installation failed: ERROR: permission denied for language c However, ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 01:37 AM
Tad Marko
 
Posts: n/a
Default createlang problem with 8, what is correct?

Howdy!

createlang -U dbuser plpgsql dbname

Results in:

createlang: language installation failed: ERROR: permission denied
for language c

However, I can make it work with

createlang -U postgres plpgsql dbname

Is the latter preferred, or do I have something misconfigured?

Thanks,
Tad

--
Tad Marko <tmarko@metrosplash.com>


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 01:37 AM
Tom Lane
 
Posts: n/a
Default Re: createlang problem with 8, what is correct?

Tad Marko <tmarko@metrosplash.com> writes:
> However, I can make it work with
> createlang -U postgres plpgsql dbname
> Is the latter preferred, or do I have something misconfigured?


Createlang has to be done as a superuser.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:19 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com