X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 810B29FB27F for ; Fri, 28 Jul 2006 17:28:26 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 85527-03 for ; Fri, 28 Jul 2006 17:28:21 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web60413.mail.yahoo.com (web60413.mail.yahoo.com [209.73.178.156]) by postgresql.org (Postfix) with SMTP id 7D9459FB278 for ; Fri, 28 Jul 2006 17:28:20 -0300 (ADT) Received: (qmail 5283 invoked by uid 60001); 28 Jul 2006 20:28:16 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=fycaszz622CSW2500U5RZ2XqdxUB8R9NuXb5G5PhlA5ZkuJkFWGikj+qUvj8WeSWVVBxsuNfZXEPcCfYs3gez6gKjgAp9KC9sST6u6OoNwTykKVuFFvHucqw1IYbt3F4jg/JjjvhI+qKOhTfps96WDuYT8BMIfVJ9W6daR1NDNw= ; Message-ID: <20060728202816.5281.qmail@web60413.mail.yahoo.com> Received: from [128.249.216.224] by web60413.mail.yahoo.com via HTTP; Fri, 28 Jul 2006 13:28:16 PDT Date: Fri, 28 Jul 2006 13:28:16 -0700 (PDT) From: Mingzuo Shen Subject: Re: Read db files directly To: pgsql-admin@postgresql.org In-Reply-To: <1154116722.31664.135.camel@state.g2switchworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=2.961 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST, DNS_FROM_RFC_WHOIS X-Spam-Level: ** X-Archive-Number: 200607/272 X-Sequence-Number: 22518 Thanks Scott. That is a much clearer way of putting it. That old PostgreSQL runs just fine, in one place, but I have 50 GB of files in another place. PostgreSQL is not reading it. How can I persuade this PostgreSQL, or any PostgeSQL, to read that 50 GB of files. Or any independent tool to read the files. Tom Lane mentioned "vacuum". If only I knew the database name, I could try "psql dbname". But I don't know the database name either. I did run "vacuum" in my new testdb. Yeah. I guess the previous DBA put those files on a different file system, and then forgot about them, probably with good reason. But as I said, the previous DBA is no longer available. Imagine I send just those files to you, and you try to get some text out of them. I do not have the SQL used to create the tables, no table structures. --- Scott Marlowe wrote: > It sounds like the current postgresql is running in > one directory, and > you're looking in another directory. If you can see > how postgresql was > started, does it have a -D switch that shows the > directory? My guess is > you could chmod 000 the master directory you're > looking at right now and > postgresql could still startup, because it's not > where you think it is.