mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +03:00
Revert CREATE INDEX ... INCLUDING ...
It's not ready yet, revert two commits690c543550
- unstable test output386e3d7609
- patch itself
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user