pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedIdentifying databases.
3+ messages / 3 participants
[nested] [flat]
* Identifying databases.
@ 2003-05-29 04:06 rakesh <rakesh@cygnus.stpp.soft.net>
2003-05-29 14:33 ` Re: Identifying databases. Robert Treat <xzilla@users.sourceforge.net>
2003-05-29 16:07 ` Re: Identifying databases. Andrew Sullivan <andrew@libertyrms.info>
0 siblings, 2 replies; 3+ messages in thread
From: rakesh @ 2003-05-29 04:06 UTC (permalink / raw)
To: pgsql-admin
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?
This actually can also help M/s. Anagha Joshi to find out relevant database
size and
possibly take backup in tarred form.
regards,
Rakesh Pawar.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Identifying databases.
2003-05-29 04:06 Identifying databases. rakesh <rakesh@cygnus.stpp.soft.net>
@ 2003-05-29 14:33 ` Robert Treat <xzilla@users.sourceforge.net>
1 sibling, 0 replies; 3+ messages in thread
From: Robert Treat @ 2003-05-29 14:33 UTC (permalink / raw)
To: rakesh <rakesh@cygnus.stpp.soft.net>; +Cc: pgsql-admin
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Identifying databases.
2003-05-29 04:06 Identifying databases. rakesh <rakesh@cygnus.stpp.soft.net>
@ 2003-05-29 16:07 ` Andrew Sullivan <andrew@libertyrms.info>
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Sullivan @ 2003-05-29 16:07 UTC (permalink / raw)
To: pgsql-admin
On Thu, May 29, 2003 at 09:36:55AM +0530, rakesh wrote:
> How can the numbers be resolved to names?
contrib/oid2name
A
--
----
Andrew Sullivan 204-4141 Yonge Street
Liberty RMS Toronto, Ontario Canada
<andrew@libertyrms.info> M2P 2A8
+1 416 646 3304 x110
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2003-05-29 16:07 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-05-29 04:06 Identifying databases. rakesh <rakesh@cygnus.stpp.soft.net>
2003-05-29 14:33 ` Robert Treat <xzilla@users.sourceforge.net>
2003-05-29 16:07 ` Andrew Sullivan <andrew@libertyrms.info>
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