X-Original-To: pgsql-admin@postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id DFE96925C70 for ; Thu, 29 May 2003 10:34:11 -0400 (EDT) Received: from developer.postgresql.org ([64.117.224.193]) by localhost (developer.postgresql.org [64.117.224.193:10024]) (amavisd-new) with ESMTP id 71058-01 for ; Thu, 29 May 2003 10:34:11 -0400 (EDT) Received: from localhost.localdomain (unknown [65.217.53.66]) by developer.postgresql.org (Postfix) with ESMTP id 03918925C61 for ; Thu, 29 May 2003 10:34:11 -0400 (EDT) Received: from thorn.mmrd.com (thorn.mmrd.com [172.25.10.100]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id h4TFNvM3031091; Thu, 29 May 2003 11:23:58 -0400 Received: from gnvex001.mmrd.com (gnvex001.mmrd.com [192.168.3.55]) by thorn.mmrd.com (8.11.6/8.11.6) with ESMTP id h4TEXfL15837; Thu, 29 May 2003 10:33:45 -0400 Received: from camel.mmrd.com ([172.25.5.213]) by gnvex001.mmrd.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 2YCP5YZ3; Thu, 29 May 2003 10:33:40 -0400 Subject: Re: Identifying databases. From: Robert Treat To: rakesh Cc: pgsql-admin@postgresql.org In-Reply-To: <004301c32597$cac73c50$0a00a8c0@cygnus.com> References: <20030528151115.V41165-100000@megazone23.bigpanda.com> <004301c32597$cac73c50$0a00a8c0@cygnus.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 29 May 2003 10:33:41 -0400 Message-Id: <1054218821.2206.2370.camel@camel> Mime-Version: 1.0 X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/401 X-Sequence-Number: 8963 On Thu, 2003-05-29 at 00:06, rakesh wrote: > Hello All, > > The /var/lib/pgsql/data/base directory has the databases listed in numeric > form. > Earlier it used to be proper names. > > How can the numbers be resolved to names? > The easiest way is to do select oid,* from pg_database, where the numbers will correspond to the oid. > This actually can also help M/s. Anagha Joshi to find out relevant database > size and > possibly take backup in tarred form. > guess i'd have to look at the specifics, but if she created her tar ball on a live database then theres a good chance it wont work. btw - just want to make a request to people to please not "hijack" other peoples threads when posting to the list. This can happen if you hit "reply to" on a message you don't intend to reply to, instead of create a new email and addressing it properly. It messes up threading of peoples requests for threaded email clients, newsgroup followers, and in the archives, and it tends to reduce the chances of both the hijacker and hijackee of getting a response. Robert Treat