Re: translating filenames into tablenames?

From: Dmitry Tkach <dmitry(at)openratings(dot)com>
To: "Ed L(dot)" <pggeneral(at)bluepolka(dot)net>
Subject: Re: translating filenames into tablenames?
Date: 2003-02-11 21:37:39
Message-ID: 3E496D23.2090009@openratings.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

select relname from pg_class where oid = <filename_without_extension>

should do it...

I hope, it helps..

Dima

Ed L. wrote:
> Could someone point me to the docs or remind me of the tool that=20
> allows me to translate filenames under $PGDATA/base/ into the=20
> corresponding DB object name? I know this is an FAQ, but I didn't=20
> see it.
>
> Thanks in advance.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Greg Stark 2003-02-11 21:42:41 Re: Is Hash Agg being used? 7.4 seems to handle this query worse than 7.3
Previous Message Bruce Momjian 2003-02-11 21:32:40 Report on Japan, Belgium trip