Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 4ECAE474E61 for ; Mon, 27 Jan 2003 08:20:11 -0500 (EST) Received: from smurfer.demon.nl (minas-2.demon.nl [212.238.194.105]) by postgresql.org (Postfix) with ESMTP id EB92F474E5C for ; Mon, 27 Jan 2003 08:20:09 -0500 (EST) Received: from depastor.minas.demon.nl ([192.168.1.1]) by smurfer.demon.nl (8.11.4/8.11.4) with ESMTP id h0S7Kpb00265; Tue, 28 Jan 2003 08:20:51 +0100 Message-Id: <5.1.0.14.0.20030127141542.00b34a88@192.168.1.3> X-Sender: michiel@192.168.1.3 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 27 Jan 2003 14:19:36 +0100 To: Tom Lane From: Michiel Lange Subject: Re: Cannot connect to the database (PG 7.3) Cc: Michiel Lange , pgsql-admin@postgresql.org In-Reply-To: <18236.1043628134@sss.pgh.pa.us> References: <5.1.0.14.0.20030127011523.00b33440@192.168.1.3> <5.1.0.14.0.20030127011523.00b33440@192.168.1.3> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/280 X-Sequence-Number: 7122 it is at connect-time, so there is nothing done with set session authorization. I just want to connect, and read data from a table to which the group the user is in has read-access. I have tried if it would differ when I try to connect with a user created like: CREATE USER 20020003 WITH ENCRYPTED PASSWORD 'secret'; or CREATE USER 20020004 WITH UNENCRYPTED PASSWORD 'secred'; it would not matter... even if there really is a trust-relation between my computer and the other machine in pg_hba.conf it is pretty strange... might it be a bug? Thanks for the try though, Michiel At 19:42 26-1-2003 -0500, Tom Lane wrote: >Michiel Lange writes: > > I get this error message: > > psql: FATAL: permission denied > >As near as I can tell, you must have some code that is trying to do >SET SESSION AUTHORIZATION --- which only a superuser is allowed to do. >Evidently user 20020003 isn't one. > > regards, tom lane