pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Treat <xzilla@users.sourceforge.net>
To: rakesh <rakesh@cygnus.stpp.soft.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Identifying databases.
Date: 29 May 2003 10:33:41 -0400
Message-ID: <1054218821.2206.2370.camel@camel> (raw)
In-Reply-To: <004301c32597$cac73c50$0a00a8c0@cygnus.com>
References: <20030528151115.V41165-100000@megazone23.bigpanda.com>
	<004301c32597$cac73c50$0a00a8c0@cygnus.com>



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







view thread (3+ messages)  latest in thread

Message-ID: <1054218821.2206.2370.camel@camel>
Permalink:  ../1054218821.2206.2370.camel@camel/
Also on:    postgresql.org/message-id/1054218821.2206.2370.camel@camel

 · 

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: xzilla@users.sourceforge.net, rakesh@cygnus.stpp.soft.net
  Subject: Re: Identifying databases.
  In-Reply-To: <1054218821.2206.2370.camel@camel>
  References: <20030528151115.V41165-100000@megazone23.bigpanda.com> <004301c32597$cac73c50$0a00a8c0@cygnus.com> <1054218821.2206.2370.camel@camel>

* 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