pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua Franklin <joshuadfranklin@yahoo.com>
To: tgl@sss.pgh.pa.us
Cc: pgsql-admin@postgresql.org
Date: Tue, 21 Aug 2001 12:54:57 -0700 (PDT)
Message-ID: <20010821195457.33091.qmail@web20009.mail.yahoo.com> (raw)

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/



view thread (2+ messages)  latest in thread

Message-ID: <20010821195457.33091.qmail@web20009.mail.yahoo.com>
Permalink:  ../20010821195457.33091.qmail@web20009.mail.yahoo.com/
Also on:    postgresql.org/message-id/20010821195457.33091.qmail@web20009.mail.yahoo.com

 · 

reply

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: joshuadfranklin@yahoo.com, tgl@sss.pgh.pa.us
  Subject: Re: 
  In-Reply-To: <20010821195457.33091.qmail@web20009.mail.yahoo.com>
  References: <20010821195457.33091.qmail@web20009.mail.yahoo.com>

* 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