| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Andy Dale <andy(dot)dale(at)gmail(dot)com> |
| Cc: | pgsql general <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Unable to determine what has a particular OID |
| Date: | 2010-06-18 14:37:51 |
| Message-ID: | 12255.1276871871@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Andy Dale <andy(dot)dale(at)gmail(dot)com> writes:
> On 18 June 2010 16:06, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> You should be looking at pg_class.relfilenode, not OID. See
>> http://www.postgresql.org/docs/8.3/static/storage.html
> Ok, but when I have dumped the pg_class table into a file like so:
> ...
> Grep-ing for the correct oid/filenode (110660 in my case), nothing is
> returned.
Hm. You're sure you're looking at pg_class in the right database?
If there really isn't a pg_class entry matching that relfilenode,
then the files are orphans and can be removed. There are some scenarios
where orphan files can be left behind, but they generally involve
database crashes ... have you had any of those?
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andy Dale | 2010-06-18 14:46:34 | Re: Unable to determine what has a particular OID |
| Previous Message | Adrian Klaver | 2010-06-18 14:30:28 | Re: Unable to determine what has a particular OID |