Re: translating filenames into tablenames? - Mailing list pgsql-general

From Dmitry Tkach
Subject Re: translating filenames into tablenames?
Date
Msg-id 3E496D23.2090009@openratings.com
Whole thread Raw
In response to translating filenames into tablenames?  ("Ed L." <pggeneral@bluepolka.net>)
List 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



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Is Hash Agg being used? 7.4 seems to handle this query worse than 7.3
Next
From: "Cristian Custodio"
Date:
Subject: Fw: Priority against catalog