From 8b99edefcab1e82c43139a2c7dc06d31fb27b3e4 Mon Sep 17 00:00:00 2001 From: Teodor Sigaev Date: Fri, 8 Apr 2016 21:52:13 +0300 Subject: Revert CREATE INDEX ... INCLUDING ... It's not ready yet, revert two commits 690c543550b0d2852060c18d270cdb534d339d9a - unstable test output 386e3d7609c49505e079c40c65919d99feb82505 - patch itself --- src/include/utils/rel.h | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'src/include/utils/rel.h') diff --git a/src/include/utils/rel.h b/src/include/utils/rel.h index 6ff4b2c5ea..c7582c2a11 100644 --- a/src/include/utils/rel.h +++ b/src/include/utils/rel.h @@ -341,24 +341,10 @@ typedef struct ViewOptions /* * RelationGetNumberOfAttributes - * Returns the total number of attributes in a relation. + * Returns the number of attributes in a relation. */ #define RelationGetNumberOfAttributes(relation) ((relation)->rd_rel->relnatts) -/* - * IndexRelationGetNumberOfAttributes - * Returns the number of attributes in an index. - */ -#define IndexRelationGetNumberOfAttributes(relation) \ - ((relation)->rd_index->indnatts) - -/* - * IndexRelationGetNumberOfKeyAttributes - * Returns the number of key attributes in an index. - */ -#define IndexRelationGetNumberOfKeyAttributes(relation) \ - ((relation)->rd_index->indnkeyatts) - /* * RelationGetDescr * Returns tuple descriptor for a relation. -- cgit v1.2.1