pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: fred.pope@satcomresources.com
Cc: pgsql-admin@postgresql.org
Subject: Re: Error:PG_DUMP relation pg_user does not exist
Date: Thu, 03 Nov 2005 13:09:47 -0500
Message-ID: <25919.1131041387@sss.pgh.pa.us> (raw)
In-Reply-To: <43629636.4050906@satcomresources.com>
References: <43629636.4050906@satcomresources.com>

Fred Pope <fred.pope@satcomresources.com> writes:
> I am running Postgresql 7.4.7. on RedHat ES-64 version 4 on a 
> Dual-Opteron Dual Core system.

> I am having problems with the pg_dump command due to improper 
> initialization of the Database cluster on RH ES 4.

Yeah, this is a known problem in some earlier releases of the RHEL4
postgres RPMs --- if you tried to run the initdb with SELinux
enforcement enabled, a lot of the init steps fail silently, and
you end up with no pg_user view, nor several other important things.

> <response>
> ERROR:  permission denied to create "pg_catalog.pg_user"
> DETAIL:  System catalog modifications are currently disallowed.
> </response>

> So my question now is how do I enable system catalog modifications.

Stand-alone backend with -O command-line option.

As soon as you are able to dump your data, I'd recommend redoing
initdb with SELinux off (or update to a newer RPM which works around
the problem, then initdb).

			regards, tom lane



view thread (2+ messages)

Message-ID: <25919.1131041387@sss.pgh.pa.us>
Permalink:  ../25919.1131041387@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25919.1131041387@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, fred.pope@satcomresources.com
  Subject: Re: Error:PG_DUMP relation pg_user does not exist
  In-Reply-To: <25919.1131041387@sss.pgh.pa.us>
  References: <43629636.4050906@satcomresources.com> <25919.1131041387@sss.pgh.pa.us>

* 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