From: Michael Fuhr <mike@fuhr.org>
To: Inpreet Singh <Singh.Inpreet@netsity.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Postgres database access problem
Date: Tue, 25 Jan 2005 17:08:43 -0700
Message-ID: <20050126000843.GA96751@winnie.fuhr.org> (raw)
In-Reply-To: <019e01c502a5$775e1100$3c67a8c0@netsity.com>
References: <019e01c502a5$775e1100$3c67a8c0@netsity.com>
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/
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: mike@fuhr.org, Singh.Inpreet@netsity.com
Subject: Re: Postgres database access problem
In-Reply-To: <20050126000843.GA96751@winnie.fuhr.org>
References: <019e01c502a5$775e1100$3c67a8c0@netsity.com> <20050126000843.GA96751@winnie.fuhr.org>
* 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