Skip site navigation (1) Skip section navigation (2)

Re: pg_attribute file in PostgreSQL 9.0

From: Steve Crawford <scrawford(at)pinpointresearch(dot)com>
To: Lukasz Brodziak <lukasz(dot)brodziak(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_attribute file in PostgreSQL 9.0
Date: 2012-03-07 14:35:03
Message-ID: 4F577217.3080204@pinpointresearch.com (view raw or flat)
Thread:
Lists: pgsql-admin
On 03/07/2012 05:14 AM, Lukasz Brodziak wrote:
> Hello,
>
> I have a question regarding pg_attribute. In which file it is stored
> because the relfilenode for it shows 0 and file 1249 isn't present in
> the folder.
>
select pg_relation_filepath('pg_attribute');

 From the docs, relfilenode is:
"Name of the on-disk file of this relation; zero means this is a 
"mapped" relation whose disk file name is determined by low-level state"

However the meaning "mapped relation" and "low-level state" are 
difficult to divine from the docs. Go with the function.

Cheers,
Steve


In response to

Responses

pgsql-admin by date

Next:From: Tom LaneDate: 2012-03-07 15:01:12
Subject: Re: pg_attribute file in PostgreSQL 9.0
Previous:From: Achilleas MantziosDate: 2012-03-07 13:53:05
Subject: Re: pg_attribute file in PostgreSQL 9.0

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group