X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 573863A45E6 for ; Wed, 26 Jan 2005 00:08:57 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 41058-07 for ; Wed, 26 Jan 2005 00:08:52 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id C471F3A596B for ; Wed, 26 Jan 2005 00:08:53 +0000 (GMT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.1/8.13.1) with ESMTP id j0Q08oUA014161 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 25 Jan 2005 17:08:52 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.1/8.13.1) with ESMTP id j0Q08nPt096863; Tue, 25 Jan 2005 17:08:49 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.1/8.13.1/Submit) id j0Q08hT8096862; Tue, 25 Jan 2005 17:08:43 -0700 (MST) (envelope-from mfuhr) Date: Tue, 25 Jan 2005 17:08:43 -0700 From: Michael Fuhr To: Inpreet Singh Cc: pgsql-admin@postgresql.org Subject: Re: Postgres database access problem Message-ID: <20050126000843.GA96751@winnie.fuhr.org> References: <019e01c502a5$775e1100$3c67a8c0@netsity.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <019e01c502a5$775e1100$3c67a8c0@netsity.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.003 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/265 X-Sequence-Number: 16124 On Tue, Jan 25, 2005 at 11:46:54AM +0530, Inpreet Singh wrote: > I am using postgres 7.3.4. I am trying to retrieve data from already > existing database. I am using postgres, which is super user of my > database in php.ini. But when I am trying to retrieve data following > error is coming > pg_class_aclcheck: invalid user id 100 Is it possible that you're logged in as a user that's been deleted? What's the output of the following commands? SELECT version(); SELECT current_user; SELECT * FROM pg_user WHERE usename = current_user; Searching the list archives for the error yields messages mentioning a problem with all-numeric user names that was fixed in 7.3.2, but you say you're running 7.3.4 and I don't know if an all-numeric user name is the problem anyway. -- Michael Fuhr http://www.fuhr.org/~mfuhr/