| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Steve Crawford <scrawford(at)pinpointresearch(dot)com> |
| Cc: | Lukasz Brodziak <lukasz(dot)brodziak(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: pg_attribute file in PostgreSQL 9.0 |
| Date: | 2012-03-07 15:01:12 |
| Message-ID: | 7061.1331132472@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
Steve Crawford <scrawford(at)pinpointresearch(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ray Stell | 2012-03-07 15:39:48 | table names seem identical |
| Previous Message | Steve Crawford | 2012-03-07 14:35:03 | Re: pg_attribute file in PostgreSQL 9.0 |