relid of non user created tables

From: Deepak S <in(dot)live(dot)in(at)live(dot)in>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: relid of non user created tables
Date: 2015-02-07 09:22:29
Message-ID: BLU182-W1324282C89C35B486560BFD3390@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi, I find that the relid of tables in all user created databases are having a value greater than 10,000 while the non user created tables produces a relid of value less than 10,000.
For eg., the query transformed from the meta command "\dt" or "\l" gave me 'relid' values like 2615, 1259 and 1262 whereas a query to a table created by me gave 'relids' like 18414, 16565.
I wish to know if it is safe to assume that non user created tables always have a relid of less than 10,000 (I chose this value after trial and error).
Kindly reply.
ThanksDeepak

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2015-02-07 09:26:37 Re: Providing catalog view to pg_hba.conf file - Patch submission
Previous Message Robert Haas 2015-02-07 03:57:43 Re: Parallel Seq Scan