| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef INDEXING_H |
| #define INDEXING_H |
|
|
| #include "access/htup.h" |
| #include "nodes/execnodes.h" |
| #include "utils/relcache.h" |
|
|
| |
| |
| |
| |
| |
| typedef struct ResultRelInfo *CatalogIndexState; |
|
|
| |
| |
| |
| |
| #define MAX_CATALOG_MULTI_INSERT_BYTES 65535 |
|
|
| |
| |
| |
| extern CatalogIndexState CatalogOpenIndexes(Relation heapRel); |
| extern void CatalogCloseIndexes(CatalogIndexState indstate); |
| extern void CatalogTupleInsert(Relation heapRel, HeapTuple tup); |
| extern void CatalogTupleInsertWithInfo(Relation heapRel, HeapTuple tup, |
| CatalogIndexState indstate); |
| extern void CatalogTuplesMultiInsertWithInfo(Relation heapRel, |
| TupleTableSlot **slot, |
| int ntuples, |
| CatalogIndexState indstate); |
| extern void CatalogTupleUpdate(Relation heapRel, ItemPointer otid, |
| HeapTuple tup); |
| extern void CatalogTupleUpdateWithInfo(Relation heapRel, |
| ItemPointer otid, HeapTuple tup, |
| CatalogIndexState indstate); |
| extern void CatalogTupleDelete(Relation heapRel, ItemPointer tid); |
|
|
| #endif |
|
|