Re: Call for port reports

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Call for port reports
Date: 2003-10-25 20:29:04
Message-ID: Pine.LNX.4.44.0310252227180.18767-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Noèl Köthe 2003-10-25 20:52:51 Re: Call for port reports
Previous Message Peter Eisentraut 2003-10-25 20:24:14 Re: Call for port reports