pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
(no subject)
2+ messages / 2 participants
[nested] [flat]

* (no subject)
@ 2001-08-21 19:54 Joshua Franklin <joshuadfranklin@yahoo.com>
  2001-08-21 19:58 ` (no subject) Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Joshua Franklin @ 2001-08-21 19:54 UTC (permalink / raw)
  To: tgl@sss.pgh.pa.us; +Cc: pgsql-admin

I just moved in as system administrator at a small
ISP. We have a postgresql database to keep track of
user logins, for example to see if a new user has not
used the account and so might be having trouble
getting it set up. Anyway, the db, called radiusdb,
grows fairly quickly. What we'd like to do is split
about 3 months at a time off into a separate db, which
could be burned to a CD and archived. I was looking
into doing this with pg_dump to duplicate the db, then
deleting records and so on. But, when I try to run
pg_dump (on our production machine), it's giving me an
error:

[postgres@ns1 postgres]$ pg_dump radiusdb
getTypes(): SELECT failed.  Explanation from backend:
'ERROR:  cache lookup for userid 26 failed
'.

userid 26 is postgres, the db administrator. The same
message comes up when I tried to dump as another
authorized user, so I'm assuming it's an admin problem
of some sort. BTW, grep reports that pg_shadow matches
a search for 'postgres', so even though I don't know
what pg_shadow should look like exactly, it does at
least have that user in it. 

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



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

* (no subject)
  2001-08-21 19:54 (no subject) Joshua Franklin <joshuadfranklin@yahoo.com>
@ 2001-08-21 19:58 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2001-08-21 19:58 UTC (permalink / raw)
  To: Joshua Franklin <joshuadfranklin@yahoo.com>; +Cc: pgsql-admin

Joshua Franklin <joshuadfranklin@yahoo.com> writes:
> BTW, grep reports that pg_shadow matches
> a search for 'postgres', so even though I don't know
> what pg_shadow should look like exactly, it does at
> least have that user in it. 

Or did have it.  What does "select * from pg_shadow" show?

			regards, tom lane



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


end of thread, other threads:[~2001-08-21 19:58 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-08-21 19:54  Joshua Franklin <joshuadfranklin@yahoo.com>
2001-08-21 19:58 ` Tom Lane <tgl@sss.pgh.pa.us>

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