Re: newbie needs help with postgres internal tables - Mailing list pgsql-general

From Tom Lane
Subject Re: newbie needs help with postgres internal tables
Date
Msg-id 6620.1006536228@sss.pgh.pa.us
Whole thread Raw
In response to newbie needs help with postgres internal tables  (William WAISSE <wwaisse@esprit-equipe.fr>)
Responses Re: newbie needs help with postgres internal tables  (William WAISSE <wwaisse@esprit-equipe.fr>)
Re: newbie needs help with postgres internal tables  (William WAISSE <wwaisse@esprit-equipe.fr>)
List pgsql-general
William WAISSE <wwaisse@esprit-equipe.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

pgsql-general by date:

Previous
From: Dave Smith
Date:
Subject: Re: newbie needs help with postgres internal tables
Next
From: William WAISSE
Date:
Subject: Re: newbie needs help with postgres internal tables