X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id A9A0B9FB1DE for ; Mon, 4 Sep 2006 08:14:52 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 71464-10 for ; Mon, 4 Sep 2006 11:14:44 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id B1F019FA170 for ; Mon, 4 Sep 2006 08:14:41 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from smtp3.ualg.pt (smtp3.ualg.pt [193.136.224.6]) by svr4.postgresql.org (Postfix) with ESMTP id AC43F5AF03A for ; Mon, 4 Sep 2006 11:14:40 +0000 (GMT) Received: by smtp3.ualg.pt (Postfix, from userid 501) id 11C931E1A76; Mon, 4 Sep 2006 12:14:35 +0100 (WEST) Received: from localhost (smtp3.ualg.pt [127.0.0.1]) by smtp3.ualg.pt (Postfix) with ESMTP id E7F831E1A10 for ; Mon, 4 Sep 2006 12:14:34 +0100 (WEST) X-Virus-Scanned: amavisd-new at ualg.pt Received: from smtp3.ualg.pt ([127.0.0.1]) by localhost (smtp3.ualg.pt [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hKoejM9wIBaD for ; Mon, 4 Sep 2006 12:14:34 +0100 (WEST) Received: from [10.17.20.14] (unknown [10.17.20.14]) by smtp3.ualg.pt (Postfix) with ESMTP id 3F1591E1A04 for ; Mon, 4 Sep 2006 12:14:34 +0100 (WEST) Message-ID: <44FC0A96.30406@ualg.pt> Date: Mon, 04 Sep 2006 12:14:30 +0100 From: =?ISO-8859-1?Q?Lu=EDs_Sousa?= User-Agent: Debian Thunderbird 1.0.2 (X11/20060804) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin Subject: SET SESSION AUTHORIZATION permissions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.384 tagged_above=0 required=5 tests=SPF_SOFTFAIL X-Spam-Level: * X-Archive-Number: 200609/21 X-Sequence-Number: 22935 Hi all, I'm using PostgreSQL 7.4.7-6sarge2 (debian). Only superuser can issue the command SET SESSION AUTHORIZATION? Suppose this, I have created all tables in one database with a privileged user. On my ident config I putted that user so in interactive session is so simple as \c - to connect with that user. When I tried to dump and the restore on command line with my user, is issued a SET SESSION AUTHORIZATION with a permission denied error! Except running the script as superuser and giving superuser privileges to my user, what can I do on command line so that SET SESSION AUTHORIZATION doesn't fail? Best regards, Luís Sousa