Re: [HACKERS] pass Form_pg_attribute to examine_attribute rather than Relation structure.

2014-06-04 Thread Tom Lane
amul sul writes: > For more granularity, I think passing Form_pg_attribute to  > examine_attribute() function  rather than passing Relation will be more > relevant & makes it simple to understand. I don't find that to be a good idea at all. It makes examine_attribute inconsistent with most othe

[HACKERS] pass Form_pg_attribute to examine_attribute rather than Relation structure.

2014-06-04 Thread amul sul
Hi, examine_attribute() function accept Relation type argument, and extract attribute from it. For more granularity, I think passing Form_pg_attribute to examine_attribute() function  rather than passing Relation will be more relevant & makes it simple to understand. Thinking to change exami