pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: finding file names
4+ messages / 3 participants
[nested] [flat]

* Re: finding file names
@ 1970-01-01 00:00 omid omoomi <oomoomi@hotmail.com>
  0 siblings, 0 replies; 4+ messages in thread

From: omid omoomi @ 1970-01-01 00:00 UTC (permalink / raw)
  To: s.chava@wcom.com; pgsql-admin

hi,
You can use COPY command to make a text file for any table.

regards
Omid Omoomi

>From: s.chava@wcom.com (Srinivasa Rao Chava)
>To: pgsql-admin@postgresql.org
>Subject: [ADMIN] finding file names
>Date: 16 Jan 2002 15:15:24 -0800
>
>In Postgresql the data file are created and named in numeric format,
>instead of text format.
>I would like move some of big tables' files to another disk. But how
>to find out which file belong to which table.
>How to map the numeric files to its respective  database objects?
>Thanks in advance for any help.
>
>---------------------------(end of broadcast)---------------------------
>TIP 3: if posting/reading through Usenet, please send an appropriate
>subscribe-nomail command to majordomo@postgresql.org so that your
>message can get through to the mailing list cleanly




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: finding file names
@ 1970-01-01 00:00 omid omoomi <oomoomi@hotmail.com>
  0 siblings, 0 replies; 4+ messages in thread

From: omid omoomi @ 1970-01-01 00:00 UTC (permalink / raw)
  To: pgsql-admin


At the moment I am using an old PG version on my machine. and it shows all 
the file names by their real name under :
/usr/local/psql/data/base/mydatabasename/

Having pgdump or copy commands, why one might need to know the relation 
between the numbers and the names at all? Data base recovery or data backup 
process or... ?

>From: Srinivasa R Chava <s.chava@wcom.com>
>To: omid omoomi <oomoomi@hotmail.com>
>Subject: Re: [ADMIN] finding file names
>Date: Thu, 17 Jan 2002 08:51:43 -0600
>
>hi,
>My question is not how to copy a text file into  a table or
>moving data from table to text file.
>The postgresql database file will be located in PGDATA	 directory
>and they are in numbered, not named. and their  directory is also
>numbered like 1820. under 1820, there are several data file.
>How to know which data file belong to which object.
>Thanks
>chava
>--
>
>Srinivasa R Chava (Chava) <s.chava@wcom.com>
>  - Boss: Sean T Laduderdale <sean.lauderdale@wcom.com>
>vnet4603575
>Application Developer
>Corporate Intra/Internet Systems
>WORLDCOM - http://www.worldcom.com/ - NASDAQ:WCOM
>500 Clinton Center Drive (Corporate Headquarters)
>Clinton, Mississippi (MS) USA  39056
>(601)460-3122 / vnet4603122 / (800)844-1009 / FAX(601)460-8257




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* finding file names
@ 2002-01-16 23:15 Srinivasa Rao Chava <s.chava@wcom.com>
  2002-01-17 01:50 ` Re: finding file names Stephan Szabo <sszabo@megazone23.bigpanda.com>
  0 siblings, 1 reply; 4+ messages in thread

From: s.chava@wcom.com @ 2002-01-16 23:15 UTC (permalink / raw)
  To: pgsql-admin

In Postgresql the data file are created and named in numeric format,
instead of text format.
I would like move some of big tables' files to another disk. But how
to find out which file belong to which table.
How to map the numeric files to its respective  database objects?
Thanks in advance for any help.



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: finding file names
  2002-01-16 23:15 finding file names Srinivasa Rao Chava <s.chava@wcom.com>
@ 2002-01-17 01:50 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Stephan Szabo @ 2002-01-17 01:50 UTC (permalink / raw)
  To: Srinivasa Rao Chava <s.chava@wcom.com>; +Cc: pgsql-admin


On 16 Jan 2002, Srinivasa Rao Chava wrote:

> In Postgresql the data file are created and named in numeric format,
> instead of text format.
> I would like move some of big tables' files to another disk. But how
> to find out which file belong to which table.
> How to map the numeric files to its respective  database objects?
> Thanks in advance for any help.

See contrib/oid2name




^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2002-01-17 01:50 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1970-01-01 00:00 Re: finding file names omid omoomi <oomoomi@hotmail.com>
1970-01-01 00:00 Re: finding file names omid omoomi <oomoomi@hotmail.com>
2002-01-16 23:15 finding file names Srinivasa Rao Chava <s.chava@wcom.com>
2002-01-17 01:50 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>

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