pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Steve Crawford <scrawford@pinpointresearch.com>
Cc: Lukasz Brodziak <lukasz.brodziak@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_attribute file in PostgreSQL 9.0
Date: Wed, 07 Mar 2012 10:01:12 -0500
Message-ID: <7061.1331132472@sss.pgh.pa.us> (raw)
In-Reply-To: <4F577217.3080204@pinpointresearch.com>
References: <CAGWYGjX4Lcu19BKFgX+ttz7bHypd1j-WbP98S_GGUSGe_VtBew@mail.gmail.com>
	<4F577217.3080204@pinpointresearch.com>

Steve Crawford <scrawford@pinpointresearch.com> writes:
> On 03/07/2012 05:14 AM, Lukasz Brodziak wrote:
>> 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.

Or use pg_relation_filenode() if you want the result of the mapping.

			regards, tom lane



view thread (9+ messages)  latest in thread

Message-ID: <7061.1331132472@sss.pgh.pa.us>
Permalink:  ../7061.1331132472@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7061.1331132472@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, scrawford@pinpointresearch.com, lukasz.brodziak@gmail.com
  Subject: Re: pg_attribute file in PostgreSQL 9.0
  In-Reply-To: <7061.1331132472@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox