Re: Redo the filenode link in tablespace

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: tel medola <tel(dot)medola(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Redo the filenode link in tablespace
Date: 2017-06-06 13:37:12
Message-ID: 7333a726-5c01-ccbf-bc60-97026c1c0106@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 06/06/2017 04:40 AM, tel medola wrote:
> Lets go:
> In my plsql:
> rai=# select oid, * from pg_class where relfilenode = 5214489;

I was looking for:

select oid, * from pg_class where oid = 5214493;

>
> Result:
> oid | relname | relnamespace | reltype | reloftype | relowner
> | relam | relfilenode | reltablespace | relpages | reltuples |
> relallvisible | reltoastrelid | reltoastidxid | relhasindex |
> relisshared | relpersistence | relkind | relnatts | relchecks |
> relhasoids | relhaspkey | relhasrules | relhastriggers | relhassubclass
> | relispopulated | relfrozenxid | relminmxid | relacl | reloptions
> ---------+-------------+--------------+---------+-----------+----------+-------+-------------+---------------+----------+--------------+---------------+---------------+---------------+-------------+-------------+----------------+---------+----------+-----------+------------+------------+-------------+----------------+----------------+----------------+--------------+------------+--------+------------
> 5214489 | repositorio | 5205962 | 5214491 | 0 | 10
> | 0 | 5214489 | 5205910 | 79303 | 1.31566e+006 |
> 79303 | 5214493 | 0 | t | f | p
> | r | 7 | 0 | f | t
> | f | f | f | t |
> 9360288 | 1 | |
> (1 registro)
>
> Ok?

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2017-06-06 15:56:11 Re: Writing a C function to return the log file name
Previous Message tel medola 2017-06-06 11:40:04 Re: Redo the filenode link in tablespace