pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michiel Lange <michiel@minas.demon.nl>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michiel Lange <michiel@minas.demon.nl>
Cc: pgsql-admin@postgresql.org
Subject: Re: Cannot connect to the database (PG 7.3)
Date: Mon, 27 Jan 2003 14:19:36 +0100
Message-ID: <5.1.0.14.0.20030127141542.00b34a88@192.168.1.3> (raw)
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>

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 <michiel@minas.demon.nl> 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





view thread (16+ messages)  latest in thread

Message-ID: <5.1.0.14.0.20030127141542.00b34a88@192.168.1.3>
Permalink:  ../5.1.0.14.0.20030127141542.00b34a88@192.168.1.3/
Also on:    postgresql.org/message-id/5.1.0.14.0.20030127141542.00b34a88@192.168.1.3

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: michiel@minas.demon.nl, tgl@sss.pgh.pa.us
  Subject: Re: Cannot connect to the database (PG 7.3)
  In-Reply-To: <5.1.0.14.0.20030127141542.00b34a88@192.168.1.3>
  References: <5.1.0.14.0.20030127011523.00b33440@192.168.1.3> <5.1.0.14.0.20030127141542.00b34a88@192.168.1.3>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox