summaryrefslogtreecommitdiff
path: root/src/include/utils/rel.h
diff options
context:
space:
mode:
authorTeodor Sigaev <teodor@sigaev.ru>2016-04-08 21:52:13 +0300
committerTeodor Sigaev <teodor@sigaev.ru>2016-04-08 21:52:13 +0300
commit8b99edefcab1e82c43139a2c7dc06d31fb27b3e4 (patch)
tree5428925d16447c4d204e0956e6d2ae1032847585 /src/include/utils/rel.h
parent35e2e357cb054dc9e5d890fe754c56f0722f015e (diff)
downloadpostgresql-8b99edefcab1e82c43139a2c7dc06d31fb27b3e4.tar.gz
Revert CREATE INDEX ... INCLUDING ...
It's not ready yet, revert two commits 690c543550b0d2852060c18d270cdb534d339d9a - unstable test output 386e3d7609c49505e079c40c65919d99feb82505 - patch itself
Diffstat (limited to 'src/include/utils/rel.h')
-rw-r--r--src/include/utils/rel.h16
1 files changed, 1 insertions, 15 deletions
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,25 +341,11 @@ 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.
*/