Re: [HACKERS] how to understand these macro defines such as ObjectIdAttributeNumber in sysattr.h?

2014-08-18 Thread Tom Lane
=?UTF-8?B?5Zyf5Y2c55q/?= writes: > where and when using these system attributes? http://www.postgresql.org/docs/devel/static/ddl-system-columns.html regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscrip

Re: [HACKERS] how to understand these macro defines such as ObjectIdAttributeNumber in sysattr.h?

2014-08-18 Thread 土卜皿
hi, Michael thanks a lot! your reminding lead me go a step forward! the 7 attributes are system attributes of some table such as pg_class, pg_type. but now I have a new question: where and when using these system attributes? 2014-08-18 15:57 GMT+08:00 Michael Paquier : > On Mon, Aug 18,

Re: [HACKERS] how to understand these macro defines such as ObjectIdAttributeNumber in sysattr.h?

2014-08-18 Thread Michael Paquier
On Mon, Aug 18, 2014 at 4:42 PM, 土卜皿 wrote: >Recently, for understanding postgresql's optimizer, I read and debug the > source code. these two days, I read these macros in sysattr.h: > > ... > #define ObjectIdAttributeNumber (-2) > ... > > and the relative codes, but I still did not know why

[HACKERS] how to understand these macro defines such as ObjectIdAttributeNumber in sysattr.h?

2014-08-18 Thread 土卜皿
hi, all I am so sorry for asking some questions like this! Recently, for understanding postgresql's optimizer, I read and debug the source code. these two days, I read these macros in sysattr.h: ... #define ObjectIdAttributeNumber (-2) ... and the relative codes, but I still did not know