Trying to get PL/Parrot working on ubuntu 9.10 + postgres 8.4

1 view
Skip to first unread message

Jonathan Leto

unread,
Apr 26, 2010, 6:28:12 PM4/26/10
to plpa...@googlegroups.com
Howdy,

What is the proper way to deal with this?

$ make test
psql -AX -f t/sql/test.sql
psql:plparrot.sql:3: ERROR: permission denied for language c
make: *** [test] Error 3

Duke

--
Jonathan "Duke" Leto
jona...@leto.net
http://leto.net


--
Subscription settings: http://groups.google.com/group/plparrot/subscribe?hl=en

Joshua Tolley

unread,
Apr 26, 2010, 11:07:57 PM4/26/10
to plpa...@googlegroups.com
On Mon, Apr 26, 2010 at 03:28:12PM -0700, Jonathan Leto wrote:
> Howdy,
>
> What is the proper way to deal with this?
>
> $ make test
> psql -AX -f t/sql/test.sql
> psql:plparrot.sql:3: ERROR: permission denied for language c
> make: *** [test] Error 3

C language functions can be created only by a postgres superuser. So:

psql -U <some_superuser> -AXf t/sql/test.sql

signature.asc
Reply all
Reply to author
Forward
0 new messages