Re: newbie needs help with postgres internal tables

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: William WAISSE <wwaisse(at)esprit-equipe(dot)fr>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: newbie needs help with postgres internal tables
Date: 2001-11-23 17:23:48
Message-ID: 6620.1006536228@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

William WAISSE <wwaisse(at)esprit-equipe(dot)fr> writes:
> does a documentation exists concerning postgres internals, which I
> havren't found, and which would say something like
> "the relation between pg_class and pg_attribute is the field
> oid in in pg_class which is the same as the field attrelid in pg_attribute"
> "attnum in pg_attribute is >0 for 'user' fields and <0 for internal fields"
> . . .

See the "system catalogs" chapter of the developer's guide. It's a bit
terse but I believe the information you mention above is all stated at,
eg,
http://candle.pha.pa.us/main/writings/pgsql/sgml/catalog-pg-attribute.html

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris McCormick 2001-11-23 18:02:54 [HOSTING QUESTION] - Advice on a decent PostgreSQL host?
Previous Message Dave Smith 2001-11-23 17:19:47 Re: newbie needs help with postgres internal tables