Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id BEBBA475C22 for ; Mon, 27 Jan 2003 13:18:03 -0500 (EST) Received: from smurfer.demon.nl (minas-2.demon.nl [212.238.194.105]) by postgresql.org (Postfix) with ESMTP id 6F296476738 for ; Mon, 27 Jan 2003 13:17:08 -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 h0SCHmX00384; Tue, 28 Jan 2003 13:17:48 +0100 Message-Id: <5.1.0.14.0.20030127191100.00b34ba8@192.168.1.3> X-Sender: michiel@192.168.1.3 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 27 Jan 2003 19:16:32 +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: <25386.1043676650@sss.pgh.pa.us> References: <5.1.0.14.0.20030127141542.00b34a88@192.168.1.3> <5.1.0.14.0.20030127011523.00b33440@192.168.1.3> <5.1.0.14.0.20030127011523.00b33440@192.168.1.3> <5.1.0.14.0.20030127141542.00b34a88@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/287 X-Sequence-Number: 7129 but, but.... it is even with the psql command... it will differ if I put a -U parameter with postgres or 20020003 postgres, michiel or most other names will connect fine, however the user 20020003 will not... I get that FATAL error... all users should be able to connect to the database, according to pg_hba.conf and when I do: SELECT * FROM pg_user; I get all users, including 20020003 returned... and 20030003 has userid 106, which is mentioned in the list SELECT * FROM pg_group; so, the account should be set up correctly. A ALTER USER 20020003 WITH ... has not helped either, but I am very certain the user exists... but is not allowed to connect to the database... But I will try to see what happens with query logging... never thought that connecting would issue a query as well... not so strange an idea though... I'll check it out... Michiel At 09:10 27-1-2003 -0500, Tom Lane wrote: >Michiel Lange writes: > > it is pretty strange... might it be a bug? > >I'm quite sure it's a bug in your code. Try turning on query logging so >you can see what queries are being issued; maybe that will help solve >the problem. > > regards, tom lane