pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Postgres database access problem
2+ messages / 2 participants
[nested] [flat]

* Postgres database access problem
@ 2005-01-25 06:16 Inpreet Singh <Singh.Inpreet@netsity.com>
  2005-01-26 00:08 ` Re: Postgres database access problem Michael Fuhr <mike@fuhr.org>
  0 siblings, 1 reply; 2+ messages in thread

From: Inpreet Singh @ 2005-01-25 06:16 UTC (permalink / raw)
  To: pgsql-admin

Hello,
 
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
 
please help me in rectifying this problem.
 
Inpreet Singh

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Postgres database access problem
  2005-01-25 06:16 Postgres database access problem Inpreet Singh <Singh.Inpreet@netsity.com>
@ 2005-01-26 00:08 ` Michael Fuhr <mike@fuhr.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Fuhr @ 2005-01-26 00:08 UTC (permalink / raw)
  To: Inpreet Singh <Singh.Inpreet@netsity.com>; +Cc: pgsql-admin

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/



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-01-26 00:08 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-01-25 06:16 Postgres database access problem Inpreet Singh <Singh.Inpreet@netsity.com>
2005-01-26 00:08 ` Michael Fuhr <mike@fuhr.org>

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