Re: Call for port reports - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Call for port reports
Date
Msg-id Pine.LNX.4.44.0310252227180.18767-100000@peter.localdomain
Whole thread Raw
In response to Re: Call for port reports  (Larry Rosenman <ler@lerctr.org>)
Responses Re: Call for port reports
List pgsql-hackers
Larry Rosenman writes:

> *** ./expected/privileges.out    Thu Oct  9 20:49:31 2003
> --- ./results/privileges.out    Sat Oct 25 12:04:45 2003
> ***************
> *** 247,253 ****
>   (1 row)
>
>   CREATE FUNCTION testfunc3(int) RETURNS int AS 'select 2 * $1;' LANGUAGE
> sql; -- fail
> - ERROR:  permission denied for language sql
>   SET SESSION AUTHORIZATION regressuser3;
>   SELECT testfunc1(5); -- fail
>   ERROR:  permission denied for function testfunc1
> --- 247,252 ----

That sounds extremely strange.  Can you step through the privileges.sql
file manually (psql single-step mode) and check what the contents of
pg_language, pg_shadow, current_user, and session_user are before the
misbehaving command?

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Call for port reports
Next
From: Noèl Köthe
Date:
Subject: Re: Call for port reports