X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 17AD552822 for ; Sun, 26 Jun 2005 00:45:59 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 51312-01 for ; Sun, 26 Jun 2005 03:45:51 +0000 (GMT) Received: from mout2.freenet.de (mout2.freenet.de [194.97.50.155]) by svr1.postgresql.org (Postfix) with ESMTP id A709652818 for ; Sun, 26 Jun 2005 00:45:50 -0300 (ADT) Received: from [194.97.55.191] (helo=mx7.freenet.de) by mout2.freenet.de with esmtpa (Exim 4.52) id 1DmO5d-0005hY-Kg for pgsql-admin@postgresql.org; Sun, 26 Jun 2005 05:45:49 +0200 Received: from ip68-6-204-101.sd.sd.cox.net ([68.6.204.101] helo=[192.168.1.147]) by mx7.freenet.de with esmtpsa (ID nspmma@freenet.de) (TLSv1:AES256-SHA:256) (Exim 4.52 #6) id 1DmO5d-0003ur-Bb for pgsql-admin@postgresql.org; Sun, 26 Jun 2005 05:45:49 +0200 Message-ID: <42BE250D.5000303@freenet.de> Date: Sat, 25 Jun 2005 20:46:21 -0700 From: Alberto User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: pg_dump -Fc does not dump indexes References: <42BCC950.5090006@freenet.de> In-Reply-To: <42BCC950.5090006@freenet.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.196 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/221 X-Sequence-Number: 17976 Hi Tom, I tried to reproduce the problem once more creating a new blank database and some tables with constraints. I could not reproduce the problem. I then went back and tried to reproduce the problem with the original database. Now I can not reproduce even that although it happened multiple times to me before. I would suggest that I keep an eye on it and try to figure out how to reproduce the problem. Thanks for your time!! Alberto ps. I had switched SELinux off for now. Alberto 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