From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Numeric file names |
Date: | 2000-10-28 22:08:51 |
Message-ID: | 200010282208.SAA21793@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> > With that feature, I can write scripts pgfile2name and pgname2file that
> > map file names to table names. People can run standard Unix commands
> > and have meaningful display output:
> >
> > ls -l | pgfile2name
>
> sed `psql -Aqt -d ${database} -c "select'-e s/' || oid || '/' || relname || '/g' from pg_class"`
>
>
> What I'd find useful is a program that you can occasionally run on a
> database directory that creates links from "name" to "oid".
Let me not grab this utility as my own. If someone else wants to code
it, go ahead. I will be in California for most of next week.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Vadim Mikheev | 2000-10-28 22:39:58 | Re: Proposal for DROP TABLE rollback mechanism |
Previous Message | Bruce Momjian | 2000-10-28 22:07:53 | Re: Numeric file names |