[postgis-users] ERROR: permission denied for language c

Rudolf Nottrott rnott at alexandria.UCSB.edu
Sun Jun 27 15:16:22 PDT 2004


I have come across the above error in under different
circumstances during my recent postgis install.  Here is a typical case:

$ createdb -U postgres testdb
CREATE DATABASE

$ createlang -U postgres  plpgsql testdb
createlang: language installation failed:
"ERROR:  permission denied for language c"

If I do the same thing without specifying a user, i.e. without the '-U
postgres', the error goes away, like this:
$ dropdb testdb
$ createdb  testdb
$ createlang plpgsql testdb
...all is fine...

What is this error about, and what do I do to make it go away?
Has anybody out there come across this?

Thanks,

Wolfgang




More information about the postgis-users mailing list