pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alberto <nspmma@freenet.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_dump -Fc does not dump indexes
Date: Sat, 25 Jun 2005 17:36:27 -0400
Message-ID: <29575.1119735387@sss.pgh.pa.us> (raw)
In-Reply-To: <42BDC10D.80301@freenet.de>
References: <42BCC950.5090006@freenet.de>
	<42BDC10D.80301@freenet.de>

Alberto <nspmma@freenet.de> writes:
> I would definetely be willing to create a self contained test case but I 
> am not sure what that would be. I can create a dump file from a test 
> database, but that would be after using pg_dump so you could not check 
> that. Do you want me to create a database, shut it down and zip up the 
> database files? Which files would those be?

Well, basically I want to know how to create a database from which
pg_dump can't dump indexes ... can you reconstruct the sequence that got
you into this condition?

Also ... this is really grasping at straws, but do you have SELinux set
in enforcement mode in your RHEL4 system, and if so does changing it to
permissive mode make a difference?  We've seen a bunch of issues with
SELinux :-( --- this does not seem like any of them, but you never know.

> Is there a way for me to find out if the dump file created with -Fc does 
> contain information on the indexes?

If "pg_restore -l" shows a lot of stuff but not the indexes (either as
indexes or as constraints) then I'd say that's sufficient evidence.

			regards, tom lane



view thread (7+ messages)  latest in thread

Message-ID: <29575.1119735387@sss.pgh.pa.us>
Permalink:  ../29575.1119735387@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29575.1119735387@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, nspmma@freenet.de
  Subject: Re: pg_dump -Fc does not dump indexes
  In-Reply-To: <29575.1119735387@sss.pgh.pa.us>
  References: <42BCC950.5090006@freenet.de> <42BDC10D.80301@freenet.de> <29575.1119735387@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