Re: [HACKERS] Extend argument of OAT_POST_CREATE

2012-10-23 Thread Alvaro Herrera
Kohei KaiGai escribió: > 2012/10/10 Alvaro Herrera : > > I admit the new RELKIND_INDEX cases in various places make for strange > > flow. Not sure how it can be improved though. > > > The idea is not so complicated. This code considers index is an > property of a certain table like as individual

Re: [HACKERS] Extend argument of OAT_POST_CREATE

2012-10-13 Thread Kohei KaiGai
Thanks for your reviews. 2012/10/10 Alvaro Herrera : > Kohei KaiGai escribió: >> The attached patch adds argument of OAT_POST_CREATE hook; >> to inform extensions type of the context of this object creation. It allows >> extensions to know whether the new object is indirectly created apart >> from

Re: [HACKERS] Extend argument of OAT_POST_CREATE

2012-10-10 Thread Alvaro Herrera
Kohei KaiGai escribió: > The attached patch adds argument of OAT_POST_CREATE hook; > to inform extensions type of the context of this object creation. It allows > extensions to know whether the new object is indirectly created apart > from user's operations, or not. Can we add Assert(!is_internal)